C# 클래스 System.Windows.DynamicResourceExtension

상속: IMarkupExtension
파일 보기 프로젝트 열기: wjk/dotnet-wpf 1 사용 예제들

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