Determines the toggle behavior in the toolbar and context menu.
Visual Basic (Declaration) | |
---|---|
Public Property ToggleStyle As ToggleStyle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ToggleStyle ToggleStyle {get; set;} |
Return Value
A ToggleStyle value that determines the 'toggled' behavior of the command. Defaults to ToggleStyle.Auto.The ToggleStyle which determines the 'toggled' behavior of the command. Default value is ToggleStyle.Auto
Some possible toggle styles are:
- None: Command behaves like regular button or menu item
- Toggled: Command behaves like checkbox.
- Grouped: Command behaves like a radio button within a group.
The ToggleStyle possible values are:
ToggleStyle | Descriptions |
---|---|
None | Command behaves like regular button or menu item. |
Toggled | Command behaves like chechbox. |
Grouped | Command behaves like radio button whithin a group. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family