Intersoft WebDesktop Documentation
Commands Property
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebToolBar Class : Commands Property


Glossary Item Box

Gets the collection of tool commands in this WebToolBar.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Commands As ToolCommandCollection
Visual Basic (Usage)Copy Code
Dim instance As WebToolBar
Dim value As ToolCommandCollection
 
value = instance.Commands
C# 
public ToolCommandCollection Commands {get;}

Remarks

WebToolBar has several command types for its Items. These ToolCommand's Types consist of Button, Toggle Button, DropDown Button, Split Button, Separator, Custom, and Container.

  • Button
    Button Type is the most common type in any ToolBar. It simply represent a button behavior in toolBar.
  • ToggleButton
    ToggleButton is a button that has select and unselect state. This type of button can be either used in a group of toggle buttons (linked with Toggle's GroupName) or act in SingleMode.
    Usually a SingleMode ToggleButton is used for as a flag to set active/inactive of certain state. On the other hand a GroupMode ToggleButton is used as a selection from several states that included in the Toggle Group.
  • DropDownButton
    DropDown Button consist of sub items (Collection of WebMenuItem) where each of sub items then can have it owns action.
  • SplitButton
    Similar with DropDown Button, it consist sub items (Collection of WebMenuItem), however unlike DropDown Button, the SplitButton's parent command can also have it own action.
  • Custom
    Using the ITemplate to design the custom command type for WebToolBar ensure the flexibility to use any control(s) to represent a command type in WebToolBar.
  • Container
    One of key features of WebToolBar is ability to merge two or more WebToolBars inside a given WebTolBar, this can be achieved using Container Type where it will act as the container for the merged WebToolbar.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.