C# 클래스 Gu.Wpf.ValidationScope.Scope

파일 보기 프로젝트 열기: JohanLarsson/Gu.Wpf.ValidationScope

공개 프로퍼티들

프로퍼티 타입 설명
ErrorEvent System.Windows.RoutedEvent
ErrorsChangedEvent System.Windows.RoutedEvent
ErrorsProperty System.Windows.DependencyProperty
ForInputTypesProperty System.Windows.DependencyProperty
HasErrorProperty System.Windows.DependencyProperty
NodeProperty System.Windows.DependencyProperty
OneWayToSourceBindingsProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
AddErrorHandler ( DependencyObject element, EventHandler handler ) : void

Adds a handler for the Scope.ValidationError attached event.

AddErrorsChangedHandler ( this element, EventHandler handler ) : void

Adds a handler for the Scope.ErrorsChanged attached event.

RemoveErrorHandler ( DependencyObject element, EventHandler handler ) : void

Removes a handler for the Scope.ValidationError attached event.

RemoveErrorsChangedHandler ( this element, EventHandler handler ) : void

Removes a handler for the Scope.ErrorsChanged attached event.

SetForInputTypes ( FrameworkElement element, InputTypeCollection value ) : void
SetOneWayToSourceBindings ( this element, OneWayToSourceBindings value ) : void

비공개 메소드들

메소드 설명
GetErrors ( DependencyObject element ) : ReadOnlyObservableCollection
GetForInputTypes ( FrameworkElement element ) : InputTypeCollection
GetHasError ( UIElement element ) : bool
GetNode ( DependencyObject element ) : Node
GetOneWayToSourceBindings ( this element ) : OneWayToSourceBindings
IsScopeFor ( this parent, DependencyObject source ) : bool
IsScopeFor ( this parent, ValidationError error ) : bool
OnForInputTypesChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnNodeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnNodeErrorsChanged ( object sender, ErrorsChangedEventArgs e ) : void
OnWayToSourceBindingsChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetErrors ( this element, ReadOnlyObservableCollection value ) : void
SetHasError ( DependencyObject element, bool value ) : void
SetNode ( DependencyObject element, Node value ) : void
Target ( this error ) : DependencyObject
UpdateErrorsAndHasErrors ( DependencyObject dependencyObject, IEnumerable removedErrors, IEnumerable addedErrors, ReadOnlyObservableCollection errors ) : void
UpdateParent ( this source, IEnumerable removed, IEnumerable added ) : void

메소드 상세

AddErrorHandler() 공개 정적인 메소드

Adds a handler for the Scope.ValidationError attached event.
public static AddErrorHandler ( DependencyObject element, EventHandler handler ) : void
element System.Windows.DependencyObject UIElement or ContentElement that listens to this event
handler EventHandler Event Handler to be added
리턴 void

AddErrorsChangedHandler() 공개 정적인 메소드

Adds a handler for the Scope.ErrorsChanged attached event.
public static AddErrorsChangedHandler ( this element, EventHandler handler ) : void
element this UIElement or ContentElement that listens to this event
handler EventHandler Event Handler to be added
리턴 void

RemoveErrorHandler() 공개 정적인 메소드

Removes a handler for the Scope.ValidationError attached event.
public static RemoveErrorHandler ( DependencyObject element, EventHandler handler ) : void
element System.Windows.DependencyObject UIElement or ContentElement that listens to this event
handler EventHandler Event Handler to be removed
리턴 void

RemoveErrorsChangedHandler() 공개 정적인 메소드

Removes a handler for the Scope.ErrorsChanged attached event.
public static RemoveErrorsChangedHandler ( this element, EventHandler handler ) : void
element this UIElement or ContentElement that listens to this event
handler EventHandler Event Handler to be removed
리턴 void

SetForInputTypes() 공개 정적인 메소드

public static SetForInputTypes ( FrameworkElement element, InputTypeCollection value ) : void
element System.Windows.FrameworkElement
value InputTypeCollection
리턴 void

SetOneWayToSourceBindings() 공개 정적인 메소드

public static SetOneWayToSourceBindings ( this element, OneWayToSourceBindings value ) : void
element this
value OneWayToSourceBindings
리턴 void

프로퍼티 상세

ErrorEvent 공개적으로 정적으로 프로퍼티

Notifies when validation errors occurs in the scope. Bindings does not need NotifyOnValidationError=True for thhsi event to fire.
public static RoutedEvent,System.Windows ErrorEvent
리턴 System.Windows.RoutedEvent

ErrorsChangedEvent 공개적으로 정적으로 프로퍼티

Notifies when validation errors occurs in the scope. Bindings does not need NotifyOnValidationError=True for thhsi event to fire.
public static RoutedEvent,System.Windows ErrorsChangedEvent
리턴 System.Windows.RoutedEvent

ErrorsProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ErrorsProperty
리턴 System.Windows.DependencyProperty

ForInputTypesProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ForInputTypesProperty
리턴 System.Windows.DependencyProperty

HasErrorProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows HasErrorProperty
리턴 System.Windows.DependencyProperty

NodeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows NodeProperty
리턴 System.Windows.DependencyProperty

OneWayToSourceBindingsProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows OneWayToSourceBindingsProperty
리턴 System.Windows.DependencyProperty