Represents IconResource MarkupExtension.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
C#
public class IconResourceExtension : MarkupExtension
Inheritance: objectIconResourceExtension
Constructors
Initializes a new instance of the IconResourceExtension class.
C#
public IconResourceExtension()
Properties
Gets or sets the icon relative path.
C#
public string IconRelativePath { get; set; }
The icon relative path.
Gets or sets the string format for constructing the path. The bound control's DataContext is used as a parameter value.
C#
public string IconRelativePathStringFormat { get; set; }
The string format.
Gets or sets the icon sources.
C#
public IconSources IconSources { get; set; }
The icon sources.
Methods
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
C#
public override object ProvideValue(IServiceProvider 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.