프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HeaderProperty | |||
HeaderTemplateProperty | |||
IsCheckedProperty | |||
SwitchForegroundProperty |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ChangeVisualState | void | ||
OnChecked | void | ||
OnClick | void | ||
OnIndeterminate | void | ||
OnIsCheckedChanged | void | ||
OnUnchecked | void | ||
SetDefaultContent | void |
메소드 | 설명 | |
---|---|---|
OnApplyTemplate ( ) : void |
Gets all the template parts and initializes the corresponding state.
|
|
ToString ( ) : string |
Returns a T:System.String that represents the current T:System.Object .
|
|
ToggleSwitch ( ) : System |
Initializes a new instance of the ToggleSwitch class.
|
메소드 | 설명 | |
---|---|---|
OnContentChanged ( object oldContent, object newContent ) : void |
Makes the content an "Off" or "On" string to match the state if the content is set to null in the design tool.
|
메소드 | 설명 | |
---|---|---|
ChangeVisualState ( bool useTransitions ) : void |
Change the visual state.
|
|
OnChecked ( object sender, |
Mirrors the E:System.Windows.Controls.Primitives.ToggleButton.Checked event.
|
|
OnClick ( object sender, |
Mirrors the E:System.Windows.Controls.Primitives.ToggleButton.Click event.
|
|
OnIndeterminate ( object sender, |
Mirrors the E:System.Windows.Controls.Primitives.ToggleButton.Indeterminate event.
|
|
OnIsCheckedChanged ( |
Invoked when the IsChecked DependencyProperty is changed.
|
|
OnUnchecked ( object sender, |
Mirrors the E:System.Windows.Controls.Primitives.ToggleButton.Unchecked event.
|
|
SetDefaultContent ( ) : void |
Makes the content an "Off" or "On" string to match the state.
|
protected OnContentChanged ( object oldContent, object newContent ) : void | ||
oldContent | object | The old content. |
newContent | object | The new content. |
리턴 | void |
public static DependencyProperty,System.Windows HeaderProperty | ||
리턴 |
public static DependencyProperty,System.Windows HeaderTemplateProperty | ||
리턴 |
public static DependencyProperty,System.Windows IsCheckedProperty | ||
리턴 |