C# 클래스 mCleaner.Helpers.Controls.VirtualToggleButton

파일 보기 프로젝트 열기: MicroHealthLLC/mCleaner

공개 프로퍼티들

프로퍼티 타입 설명
IsCheckedProperty System.Windows.DependencyProperty
IsThreeStateProperty System.Windows.DependencyProperty
IsVirtualToggleButtonProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetIsChecked ( DependencyObject d ) : Nullable

Gets the IsChecked property. This dependency property indicates whether the toggle button is checked.

GetIsThreeState ( DependencyObject d ) : bool

Gets the IsThreeState property. This dependency property indicates whether the control supports two or three states. IsChecked can be set to null as a third state when IsThreeState is true.

GetIsVirtualToggleButton ( DependencyObject d ) : bool

Gets the IsVirtualToggleButton property. This dependency property indicates whether the object to which the property is attached is treated as a VirtualToggleButton. If true, the object will respond to keyboard and mouse input the same way a ToggleButton would.

SetIsChecked ( DependencyObject d, Nullable value ) : void

Sets the IsChecked property. This dependency property indicates whether the toggle button is checked.

SetIsThreeState ( DependencyObject d, bool value ) : void

Sets the IsThreeState property. This dependency property indicates whether the control supports two or three states. IsChecked can be set to null as a third state when IsThreeState is true.

SetIsVirtualToggleButton ( DependencyObject d, bool value ) : void

Sets the IsVirtualToggleButton property. This dependency property indicates whether the object to which the property is attached is treated as a VirtualToggleButton. If true, the object will respond to keyboard and mouse input the same way a ToggleButton would.

비공개 메소드들

메소드 설명
OnIsCheckedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsChecked property.

OnIsVirtualToggleButtonChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsVirtualToggleButton property.

OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
RaiseCheckedEvent ( UIElement target ) : RoutedEventArgs

A static helper method to raise the Checked event on a target element.

RaiseEvent ( DependencyObject target, RoutedEventArgs args ) : void
RaiseIndeterminateEvent ( UIElement target ) : RoutedEventArgs

A static helper method to raise the Indeterminate event on a target element.

RaiseUncheckedEvent ( UIElement target ) : RoutedEventArgs

A static helper method to raise the Unchecked event on a target element.

UpdateIsChecked ( DependencyObject d ) : void

메소드 상세

GetIsChecked() 공개 정적인 메소드

Gets the IsChecked property. This dependency property indicates whether the toggle button is checked.
public static GetIsChecked ( DependencyObject d ) : Nullable
d System.Windows.DependencyObject
리턴 Nullable

GetIsThreeState() 공개 정적인 메소드

Gets the IsThreeState property. This dependency property indicates whether the control supports two or three states. IsChecked can be set to null as a third state when IsThreeState is true.
public static GetIsThreeState ( DependencyObject d ) : bool
d System.Windows.DependencyObject
리턴 bool

GetIsVirtualToggleButton() 공개 정적인 메소드

Gets the IsVirtualToggleButton property. This dependency property indicates whether the object to which the property is attached is treated as a VirtualToggleButton. If true, the object will respond to keyboard and mouse input the same way a ToggleButton would.
public static GetIsVirtualToggleButton ( DependencyObject d ) : bool
d System.Windows.DependencyObject
리턴 bool

SetIsChecked() 공개 정적인 메소드

Sets the IsChecked property. This dependency property indicates whether the toggle button is checked.
public static SetIsChecked ( DependencyObject d, Nullable value ) : void
d System.Windows.DependencyObject
value Nullable
리턴 void

SetIsThreeState() 공개 정적인 메소드

Sets the IsThreeState property. This dependency property indicates whether the control supports two or three states. IsChecked can be set to null as a third state when IsThreeState is true.
public static SetIsThreeState ( DependencyObject d, bool value ) : void
d System.Windows.DependencyObject
value bool
리턴 void

SetIsVirtualToggleButton() 공개 정적인 메소드

Sets the IsVirtualToggleButton property. This dependency property indicates whether the object to which the property is attached is treated as a VirtualToggleButton. If true, the object will respond to keyboard and mouse input the same way a ToggleButton would.
public static SetIsVirtualToggleButton ( DependencyObject d, bool value ) : void
d System.Windows.DependencyObject
value bool
리턴 void

프로퍼티 상세

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

IsChecked Attached Dependency Property
public static DependencyProperty,System.Windows IsCheckedProperty
리턴 System.Windows.DependencyProperty

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

IsThreeState Attached Dependency Property
public static DependencyProperty,System.Windows IsThreeStateProperty
리턴 System.Windows.DependencyProperty

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

IsVirtualToggleButton Attached Dependency Property
public static DependencyProperty,System.Windows IsVirtualToggleButtonProperty
리턴 System.Windows.DependencyProperty