| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Behavior")> <BrowsableAttribute(True)> <DefaultValueAttribute()> <DescriptionAttribute("Determines the toggle behavior of the command.")> Public Property ToggleStyle As ToggleStyle | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
[CategoryAttribute("Behavior")] [BrowsableAttribute(true)] [DefaultValueAttribute()] [DescriptionAttribute("Determines the toggle behavior of the command.")] public ToggleStyle ToggleStyle {get; set;} | |
Return Value
The ToggleStyle which determines the 'toggled' behavior of the command. Default value is ToggleStyle.AutoThe 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