[]
Represents a button that a user can expand and collapse.
public class C1ToggleButton : C1View, IDisposable
| Name | Description |
|---|---|
| C1ToggleButton() | Initializes a new instance of the C1ToggleButton class. |
| Name | Description |
|---|---|
| CheckedBackgroundProperty | Identifies the CheckedBackground dependency property. |
| CheckedBrushProperty | Identifies the CheckedBrush dependency property. |
| CheckedContentProperty | Identifies the CheckedContent dependency property. |
| CheckedForegroundProperty | Identifies the CheckedForeground dependency property. |
| FocusBrushProperty | Identifies the FocusBrush dependency property. |
| IndeterminateContentProperty | Identifies the IndeterminateContent dependency property. |
| IsCheckedProperty | Identifies the IsChecked dependency property. |
| IsFocusableProperty | Identifies the IsFocusable dependency property. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| PressedBrushProperty | Identifies the PressedBrush dependency property. |
| UncheckedContentProperty | Identifies the UncheckedContent dependency property. |
| _isFocusable | Gets or sets whether the button can receive the focus. |
| Name | Description |
|---|---|
| CheckedBackground | Gets or sets the brush to highlight the element when the button is checked. |
| CheckedBrush | Gets or sets the brush to highlight the element when the button is checked. |
| CheckedContent | Gets or sets the content show when the button is checked. |
| CheckedForeground | Gets or sets the brush to highlight the element when the button is checked. |
| FocusBrush | Gets or sets the brush to highlight the element when the button is focused. |
| IndeterminateContent | Gets or sets the content shown when the button is indeterminate. |
| IsChecked | Gets or sets whether the C1ToggleButton is checked. |
| IsFocusable | Gets or sets whether the button can receive the focus. |
| MouseOverBrush | Gets or sets the brush to highlight the element when the mouse is over. |
| PressedBrush | Gets or sets the brush to highlight the element when the button is pressed. |
| UncheckedContent | Gets or sets the content shown when the button is unchecked. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| OnChecked(EventArgs) | Raises the Checked event. |
| OnIndeterminate(EventArgs) | Raises the Indeterminate event. |
| OnUnchecked(EventArgs) | Raises the Unchecked event. |
| Name | Description |
|---|---|
| Checked | Occurs after the value of checkBox changes |
| Indeterminate | Occurs after the value of checkBox changes to indeterminate state. |
| Unchecked | Occurs after the value of checkBox changes |