C# Class System.Windows.DynamicResourceExtension

Inheritance: IMarkupExtension
Afficher le fichier Open project: wjk/dotnet-wpf Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

Constructor that takes no parameters
public DynamicResourceExtension ( ) : System
Résultat System

DynamicResourceExtension() public méthode

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

ProvideValue() public méthode

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
Résultat object