Class IsEnabledResourceExtension
Markup extension that provides resource accordingly IsEnabledResourceExtension.
Inheritance
System.Object
IsEnabledResourceExtension
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class IsEnabledResourceExtension : MarkupExtension
Constructors
IsEnabledResourceExtension(String)
Initializes a new instance of the IsEnabledResourceExtension class.
Declaration
public IsEnabledResourceExtension(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The id for resource. |
Properties
ID
Gets or sets the value that represents resource key.
Declaration
public string ID { get; set; }
Property Value
Type |
---|
System.String |
Methods
ProvideValue(IServiceProvider)
Creates System.Windows.Data.Binding that provides an object that is set as the value of the target property for this markup extension.
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider | Object that can provide services for the markup extension. |
Returns
Type | Description |
---|---|
System.Object | The object value to set on the property where the extension is applied. |