Intersoft WebDesktop Documentation
WebMenuBar
Send Feedback
Intersoft WebDesktop > Client-side References > WebMenuBar

Glossary Item Box

 WebMenuBar Properties

ClassName Description
Gets the object class name.

ValueType
String

Default Value
WebMenuBar
RequiredFrameworkVersion Description


ValueType


Default Value

AccessKey Description


ValueType


Default Value

Caption Description
Specifies the bar caption.

ValueType
String

Default Value
null
Menus Description
Gets the collection of menu commands in this webmenubar.

ValueType
ISArray object

Default Value
array
Display Description
Gets a value that indicates whether a WebMenuBar control is displayed as UI on the page.

ValueType
Boolean

Default Value
True
Visible Description


ValueType


Default Value

CommandClientSideEvents Description
Specifies the client side (JavaScript) menu command events.

ValueType
CommandClientEvents object

Default Value
null
Enabled Description
Gets or sets a value indicating enable state of control.

ValueType
Boolean

Default Value
True
ActiveMenu Description
Gets the activated/selected menu.

ValueType
WebMenuItem object

Default Value
null
Index Description


ValueType


Default Value

SizeMode Description
Gets the tool command sizing mode.

ValueType
String

Default Value
Automatic
AllowMove Description
Gets or sets a value that indicates whether a WebMenuBar control is moveable.

ValueType
String

Default Value
Default
HandleVisible Description
Gets or sets a value that indicates whether a WebMenuBar handle section is visible.

ValueType
String

Default Value
Default
AllowCustomize Description
Gets a value that indicates whether a WebMenuBar control is customizeable.

ValueType
String

Default Value
Default
AllowDockBottom Description
Gets or sets a value that indicates whether a WebMenuBar control can be dock to bottom area of PlaceHolderManager.

ValueType
String

Default Value
Default
AllowDockLeft Description
Gets or sets a value that indicates whether a WebMenuBar control can be dock to left area of PlaceHolderManager.

ValueType
String

Default Value
Default
AllowDockRight Description
Gets or sets a value that indicates whether a WebMenuBar control can be dock to right area of PlaceHolderManager.

ValueType
String

Default Value
Default
AllowDockTop Description
Gets or sets a value that indicates whether a WebMenuBar control can be dock to top area of PlaceHolderManager.

ValueType
String

Default Value
Default
AllowExpandCollapse Description
Gets or sets a value that indicates whether a WebMenuBar control is expandable and collapseable.

ValueType
String

Default Value
Default
AllowFloat Description
Gets or sets a value that indicates whether a WebMenuBar control is floatable.

ValueType
String

Default Value
Default
DockingArea Description
Gets the WebMenuBar docking area.

ValueType
String

Default Value
NotSet
DockingOffset Description
Gets the WebMenuBar docking offset.

ValueType
Number

Default Value
0
DockingRow Description
Gets the WebMenuBar docking row.

ValueType
Number

Default Value
0
FillDockingRow Description
Gets a value that indicates whether a WebMenuBar control dimension fills the row region of PlaceHolderManager docking row.

ValueType
String

Default Value
Yes
HandleStyle Description
Gets or sets the style properties of handle bar section in the bar control.

ValueType
BarSectionStyle object

Default Value
null
BodyStyle Description
Gets or sets the style properties of body bar section in the bar control.

ValueType
BarSectionStyle object

Default Value
null
OptionStyle Description
Gets or sets the style properties of option bar section in the bar control.

ValueType
BarSectionStyle object

Default Value
null
CommandStyle Description
Gets or sets the style properties of command in the bar control.

ValueType
DynamicStyle object

Default Value
object
CommandFontStyle Description


ValueType


Default Value

SeparatorStyle Description
Gets or sets the style properties of separator command in the bar control.

ValueType
String

Default Value
Empty string
ImageSize Description
Gets or sets image size.

ValueType
UnitSize object

Default Value
UnitSize (16px,16px)
ShowDelay Description


ValueType


Default Value

MenuStyleSettings Description
Gets or sets the style properties of menu styles in the bar control.

ValueType
WebMenuStyles object

Default Value
object
AutoPostBack Description
Gets or sets a value that indicates whether a Command is autopostback.

ValueType
String

Default Value
No
CommandSize Description
Specifies the MenuCommand size.

ValueType
String

Default Value
50px
DisplayToolTip Description
Gets or sets a value that indicates whether tooltip is displayed.

ValueType
Boolean

Default Value
True
ToolTip Description
Specifies the WebMenuBar tooltip.

ValueType
String

Default Value
Empty string
TextAlign Description
Specifies the MenuCommand text align type.

ValueType
String

Default Value
Default
DisplayMode Description
Specifies the MenuCommand display mode.

ValueType
String

Default Value
Default

 WebMenuBar Methods

UnregisterAccessKeys Description
Unregisters access keys from menu items.

Parameters

Remarks

Return Value

Samples

 
RegisterAccessKeys Description
Registers access keys for menu items.

Parameters

Remarks

Return Value
void

Samples

 
GetOrientation Description
Gets WebMenuBar orientation

Parameters

Remarks

Return Value
String. Horizontal or Vertical

Samples

 
SelectMenu Description
Sets active and highlight a menu item.

Parameters
menu ( )


Remarks

Return Value
void

Samples

 
SelectPrevMenu Description
Sets active and highlight previous menu item.

Parameters

Remarks

Return Value
void

Samples

 
SelectNextMenu Description
Sets active and highlight next menu item.

Parameters

Remarks

Return Value
void

Samples

 
OnMenuKeyDown Description
Raises the menu keydown event of active menu item.

Parameters
keyCode ( Number )
   event keyCode
   null
activeMenu ( WebMenuItem object )
   Menu that the event will be raised.
   null

Remarks

Return Value
void

Samples

 
SetCaption Description
Sets WebMenuBar caption

Parameters
caption ( String )
   WebMenuBar caption parameter
   null

Remarks

Return Value
void

Samples

 
SetDisplayToolTip Description
Sets WebMenuBar DisplayToolTip

Parameters
val ( String )
   no default

Remarks

Return Value
void

Samples

 
SetAllowMove Description
Sets WebMenuBar AllowMove

Parameters
val ( String )
   no default

Remarks

Return Value
void

Samples

 
SetToolTip Description
Sets WebMenuBar ToolTip

Parameters
tooltips ( String )
   no default

Remarks

Return Value
void

Samples

 
SetDisplay Description
Sets WebMenuBar Display

Parameters
val ( Boolean )
   no default

Remarks

Return Value
void

Samples

 
SetIsFloat Description
Sets WebMenuBar floating dock behavior.

Parameters
val ( String )
   No default (required)

Remarks

Return Value
void

Samples

 
ShowMenu Description
Show WebMenuBar menu

Parameters
cmd ( MenuCommand object )
   no default
updateContainerDimension ( Boolean )
   Update container (WebMenuBar) dimension when Command is showed.
   False

Remarks

Return Value
void

Samples

 
HideMenu Description
Hide WebMenuBar menu

Parameters
cmd ( MenuCommand object )
   no default
updateContainerDimension ( Boolean )
   Update container (WebMenuBar) dimension when Command is hidden.
   False

Remarks

Return Value
void

Samples

 
AddMenu Description
Add Command to existing MenuCommandCollection

Parameters
cmd ( MenuCommand object )
   no default
idx ( Number )
   Last collection index

Remarks

Return Value
void

Samples



RemoveMenu Description
Remove Command from MenuCommandCollection

Parameters
cmd ( MenuCommand object )
   no default

Remarks

Return Value
void

Samples

 
EnableMenu Description
Enabling group of Menus

Parameters
c ( MenuCommand or Array of MenuCommands )
   no default

Remarks

Return Value
void

Samples



DisableMenu Description
Disabling group of Menus

Parameters
c ( MenuCommand or Array of MenuCommands )
   no default

Remarks

Return Value
void

Samples



UpdateUI Description
Apply immediately all UI changes.

Parameters
updateContainerDimension ( Boolean )
   Update container (WebMenuBar) dimension.
   False

Remarks

Return Value
void

Samples



ResetUsageData Description
Reset MenuCommands setting to original setting.

Parameters

Remarks

Return Value
void

Samples



HideAll Description
Hides all the WebMenuBar.

Parameters

Remarks

Return Value
void

Samples



© 2012 Intersoft Solutions Corp. All Rights Reserved.