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

Glossary Item Box

 MenuCommand Properties

ClassName Description
Gets the object class name.

ValueType
String

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

ValueType
String

Default Value
No
DisplayToolTip Description
Gets a value that indicates whether command tooltip is displayed.

ValueType
String

Default Value
Default
ToolTip Description
Specifies command tooltip.

ValueType
String

Default Value
Empty String
TextAlign Description
Gets the Command text align type.

ValueType
String

Default Value
Default
DisplayMode Description
Gets the Command display mode.

ValueType
String

Default Value
Default
IsEnabled Description
Gets a value that indicates whether a Command is enabled.

ValueType
String

Default Value
Default
Visible Description
Gets a value that indicates whether a Command is visibled.

ValueType
String

Default Value
Default
Image Description
Specifies command image file name.

ValueType
String

Default Value
null
Text Description
Specifies command text.

ValueType
String

Default Value
null
Type Description
Gets command type.

ValueType
String

Default Value
Normal
Name Description
Gets or sets command name

ValueType
String

Default Value
no default
Index Description
Gets command index.

ValueType
Number

Default Value
-1
ImageSize Description
Specifies the Command image size.

ValueType
UnitSize object

Default Value
16,16
AccessKey Description
Gets the keyboard shortcut key for setting focus to the Command.

ValueType
string

Default Value

Menu Description
Gets or sets command menu implementation.

ValueType
WebMenu object

Default Value
null
Items Description
Gets command menu item collection.

ValueType
WebMenuItemCollection object

Default Value
null
SelectedMenuItem Description
Gets selected menu item.

ValueType
WebMenu object.

Default Value
null

 MenuCommand Methods

SetDisplayToolTip Description
Sets Command display tooltip

Parameters
val ( Boolean )
   no default (required)

Remarks

Return Value
void

Samples



Clone Description
Clone Command

Parameters
newBar ( WebMenuBar object )
   no default (required)

Remarks
Clone command with its structure , add it to new WebMenuBar.

Return Value
MenuCommand object

Samples



SetVisible Description
Sets Command visibility.

Parameters
val ( String )
   visible value (Default, Yes, No)
   no default (required)
batchUIUpdate ( Boolean )
   False

Remarks

Return Value
void

Samples



UpdateUI Description
Apply immediately command UI changes.

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

Remarks

Return Value
void

Samples



Reset Description
Reset MenuCommand setting to original setting.

Parameters

Remarks

Return Value

Samples



SetIsEnabled Description
Sets Command to be enabled.
Parameters
v ( Boolean )
   no default

Remarks

Return Value
void

Samples



OnClick Description
Emulate onclick event programmatically.

Parameters

Remarks

Return Value
void

Samples



OnPostBackClick Description
Emulate onpostbackclick event programmatically.

Parameters

Remarks

Return Value
void

Samples



Select Description
Sets active and highlight this menu item.

Parameters

Remarks

Return Value
void

Samples



GetPreviousNormalMenu Description
Gets previous menu item.

Parameters

Remarks

Return Value
void

Samples



GetNextNormalMenu Description
Gets next menu item.

Parameters

Remarks

Return Value
void

Samples



© 2012 Intersoft Solutions Corp. All Rights Reserved.