[]
Button that works like a check box. When used within a toggle group, acts as a radio button (checking one unchecks all others).
public class RibbonToggleButton : RibbonButton, IComponent, IDisposable, IUiaButton, IUiaInvokeProvider, IUiaSelectionItemProvider, IUiaScrollItemProvider, IUiaToggleButton, IUiaToggleProvider
Name | Description |
---|---|
RibbonToggleButton() | Creates a new instance of RibbonToggleButton. |
RibbonToggleButton(Image) | Creates a new instance of RibbonToggleButton. |
Name | Description |
---|---|
CanDepress | Gets or sets whether the second click depresses the button. |
Pressed | Gets or sets a value that indicates whether the button is pressed. |
PressedButton | Gets or sets the currently pressed button in this toggle group. |
PressedIconSet | Gets the icon set for the Pressed state. |
ToggleGroupName | Gets or sets the name of the group of toggle buttons which are mutually exclusive. |
Name | Description |
---|---|
OnPressedButtonChanged(EventArgs) | Raises the PressedButtonChanged event. |
OnPressedChanged(EventArgs) | Raises the PressedChanged event. |
ResetCanDepress() | |
ResetToggleGroupName() | Restores the default value of the ToggleGroupName property. |
ShouldSerializeCanDepress() | |
ShouldSerializeToggleGroupName() | Specifies whether to save the value of the ToggleGroupName property. |
Name | Description |
---|---|
PressedButtonChanged | Occurs when the Pressed property is changed for some button that belongs to the same toggle group. |
PressedChanged | Occurs whenever the Pressed property is changed. |