ClassIconResourceExtension
Represents IconResource MarkupExtension.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class IconResourceExtension : MarkupExtension
Inheritance: objectIconResourceExtension
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
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
The string format.
IconSources
Gets or sets the icon sources.
Declaration
public IconSources IconSources { get; set; }
Property Value
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
serviceProvider
A service provider helper that can provide services for the markup extension.
Returns
The object value to set on the property where the extension is applied.