C# 클래스 CustomMarkupExtension.MarkupExtensions.BindingDecoratorBase

상속: System.Windows.Markup.MarkupExtension
파일 보기 프로젝트 열기: RookieOne/WPF-Input-Validation

Private Properties

프로퍼티 타입 설명

공개 메소드들

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

This basic implementation just sets a binding on the targeted DependencyObject and returns the appropriate BindingExpressionBase instance.
All this work is delegated to the decorated Binding instance.

보호된 메소드들

메소드 설명
TryGetTargetItems ( IServiceProvider provider, DependencyObject &target, DependencyProperty &dp ) : bool

Validates a service provider that was submitted to the ProvideValue method. This method checks whether the provider is null (happens at design time), whether it provides an IProvideValueTarget service, and whether the service's IProvideValueTarget.TargetObject and IProvideValueTarget.TargetProperty properties are valid DependencyObject and DependencyProperty instances.

메소드 상세

ProvideValue() 공개 메소드

This basic implementation just sets a binding on the targeted DependencyObject and returns the appropriate BindingExpressionBase instance.
All this work is delegated to the decorated Binding instance.
public ProvideValue ( IServiceProvider provider ) : object
provider IServiceProvider Object that can provide services for the markup /// extension.
리턴 object

TryGetTargetItems() 보호된 메소드

Validates a service provider that was submitted to the ProvideValue method. This method checks whether the provider is null (happens at design time), whether it provides an IProvideValueTarget service, and whether the service's IProvideValueTarget.TargetObject and IProvideValueTarget.TargetProperty properties are valid DependencyObject and DependencyProperty instances.
protected TryGetTargetItems ( IServiceProvider provider, DependencyObject &target, DependencyProperty &dp ) : bool
provider IServiceProvider The provider to be validated.
target System.Windows.DependencyObject The binding target of the binding.
dp System.Windows.DependencyProperty The target property of the binding.
리턴 bool