C# Class System.Windows.DynamicResourceExtension

Inheritance: IMarkupExtension
Datei anzeigen Open project: wjk/dotnet-wpf Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DynamicResourceExtension ( ) : System

Constructor that takes no parameters

DynamicResourceExtension ( object resourceKey ) : System

Constructor that takes the resource key that this is a static reference to.

ProvideValue ( IServiceProvider serviceProvider ) : object

Return an object that should be set on the targetObject's targetProperty for this markup extension. For DynamicResourceExtension, this is the object found in a resource dictionary in the current parent chain that is keyed by ResourceKey

Method Details

DynamicResourceExtension() public method

Constructor that takes no parameters
public DynamicResourceExtension ( ) : System
return System

DynamicResourceExtension() public method

Constructor that takes the resource key that this is a static reference to.
public DynamicResourceExtension ( object resourceKey ) : System
resourceKey object
return System

ProvideValue() public method

Return an object that should be set on the targetObject's targetProperty for this markup extension. For DynamicResourceExtension, this is the object found in a resource dictionary in the current parent chain that is keyed by ResourceKey
public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
return object