Dundas Chart for Windows Forms
ToggleStyle Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Command Class : ToggleStyle Property


Enterprise Only Feature. Determines the toggled behavior of the command in a toolbar or context menu.
Determines the toggle behavior in the toolbar and context menu.

Syntax

Visual Basic (Declaration)  
Public Property ToggleStyle As ToggleStyle
Visual Basic (Usage) Copy Code
Dim instance As Command
Dim value As ToggleStyle
 
instance.ToggleStyle = value
 
value = instance.ToggleStyle
C#  
public ToggleStyle ToggleStyle {get; set;}

Return Value

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

Remarks

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.

Requirements

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

See Also

© 2009 All Rights Reserved.