Class IconResourceExtension
Represents IconResource MarkupExtension.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class IconResourceExtension : MarkupExtension
Constructors
IconResourceExtension()
Initializes a new instance of the IconResourceExtension class.
Declaration
public IconResourceExtension()
Properties
IconRelativePath
Gets or sets the icon relative path.
Declaration
public string IconRelativePath { get; set; }
Property Value
System.String
The icon relative path. |
IconRelativePathStringFormat
Gets or sets the string format for constructing the path. The bound control's DataContext is used as a parameter value.
Declaration
public string IconRelativePathStringFormat { get; set; }
Property Value
System.String
The string format. |
IconSources
Gets or sets the icon sources.
Declaration
public IconSources IconSources { get; set; }
Property Value
IconSources
The icon sources. |
Methods
ProvideValue(IServiceProvider)
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
System.IServiceProvider
serviceProvider
A service provider helper that can provide services for the markup extension. |
Returns
System.Object
The object value to set on the property where the extension is applied. |