C# Класс System.Windows.DynamicResourceExtension

Наследование: IMarkupExtension
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

DynamicResourceExtension() публичный Метод

Constructor that takes no parameters
public DynamicResourceExtension ( ) : System
Результат System

DynamicResourceExtension() публичный Метод

Constructor that takes the resource key that this is a static reference to.
public DynamicResourceExtension ( object resourceKey ) : System
resourceKey object
Результат System

ProvideValue() публичный Метод

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
Результат object