Class
IconResourceExtension

Represents IconResource MarkupExtension.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class IconResourceExtension : MarkupExtension

Inheritance: objectIconResourceExtension

Constructors

IconResourceExtension()

Initializes a new instance of the IconResourceExtension class.

Declaration

cs-api-definition
public IconResourceExtension()

Properties

IconRelativePath

Gets or sets the icon relative path.

Declaration

cs-api-definition
public string IconRelativePath { get; set; }

Property Value

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

cs-api-definition
public string IconRelativePathStringFormat { get; set; }

Property Value

string

The string format.

IconSources

Gets or sets the icon sources.

Declaration

cs-api-definition
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

cs-api-definition
public override object ProvideValue(IServiceProvider serviceProvider)

Parameters

serviceProvider

IServiceProvider

A service provider helper that can provide services for the markup extension.

Returns

object

The object value to set on the property where the extension is applied.