C# 클래스 Catel.Windows.Markup.UpdatableMarkupExtension

Markup extension that allows an update of the binding values.
This class is found at http://www.thomaslevesque.com/2009/07/28/wpf-a-markup-extension-that-can-update-its-target/.
상속: MarkupExtension
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
ProvideValue ( IServiceProvider serviceProvider ) : object

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.

보호된 메소드들

메소드 설명
OnTargetObjectLoaded ( ) : void

Called when the target object is loaded. Note that this method will only be called if the target object is a FrameworkElement.

OnTargetObjectUnloaded ( ) : void

Called when the target object is unloaded. Note that this method will only be called if the target object is a FrameworkElement.

ProvideDynamicValue ( IServiceProvider serviceProvider ) : object

Provides the dynamic value.

UpdateValue ( ) : void

Updates the value.

비공개 메소드들

메소드 설명
GetValue ( ) : object

Gets the value by combining the rights methods (so we don't have to repeat ourselves).

OnTargetObjectLoadedInternal ( object sender, RoutedEventArgs e ) : void
OnTargetObjectUnloadedInternal ( object sender, RoutedEventArgs e ) : void
ProvideDynamicValue ( ) : object

메소드 상세

OnTargetObjectLoaded() 보호된 메소드

Called when the target object is loaded. Note that this method will only be called if the target object is a FrameworkElement.
protected OnTargetObjectLoaded ( ) : void
리턴 void

OnTargetObjectUnloaded() 보호된 메소드

Called when the target object is unloaded. Note that this method will only be called if the target object is a FrameworkElement.
protected OnTargetObjectUnloaded ( ) : void
리턴 void

ProvideDynamicValue() 보호된 메소드

Provides the dynamic value.
protected ProvideDynamicValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider The service provider.
리턴 object

ProvideValue() 공개 최종 메소드

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
public final ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider A service provider helper that can provide services for the markup extension.
리턴 object

UpdateValue() 보호된 메소드

Updates the value.
protected UpdateValue ( ) : void
리턴 void