Dundas Chart for ASP.NET
ToggleStyle Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl 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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.