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

Glossary Item Box

 WebMenuItem Properties

Name Description
Gets the name of the WebMenuItem control.

ValueType
String

Default Value

Index Description
Gets or sets the index of the WebMenuUItem object.

ValueType
String

Default Value

Collection Description
Gets the Collection that contains the WebMenuItem.

ValueType
Array

Default Value

ParentMenu Description
Gets the ParentMenu of WebMenuItem.

ValueType
WebMenuItem

Default Value

SubMenu Description
Gets the SubMenu of this WebMenuItem.

ValueType
WebMenuItem

Default Value

OwnerMenu Description
Gets the OwnerMenu of this WebMenuItem.

ValueType
WebMenuItem

Default Value

Items Description
Gets the Items collection of WebMenuItem.

ValueType
WebMenuItem

Default Value

Type Description
Gets or sets the type of WebMenuItem control.

ValueType
WebMenuItem

Default Value

Text Description
Gets or sets the text caption displayed in the WebMenuItem control

ValueType
String

Default Value

ImageURL Description
Gets or sets the images URL link in WebMenuItem

ValueType
String

Default Value

OnClick Description
Specifies the client-side function to be invoked when a client performs a click event

ValueType
String

Default Value

KeepMenuVisible Description
Indicates whether the menu which own this item should be kept visible after clicked.

ValueType
Boolean

Default Value
False
Enabled Description
Gets the value that indicates whether the WebMenuItem control is enabled.

ValueType
Boolean

Default Value
True
AccessKey Description
Sets or retrieves the keyboard shortcut key for setting focus to the Command.

ValueType
String

Default Value

Shortcut Description
Gets or sets the shortcut key for the menu item, which will invoke the associated command when pressed.

ValueType
WebMenuItem

Default Value

Tooltip Description
Gets or sets the tool tip text that will be displayed on mouse over action.

ValueType
String

Default Value

Visible Description
Gets the value that indicates whether the control is visible.

ValueType
Boolean

Default Value
True
TargetURL Description
Gets or sets the target URL of WebMenuItem.

ValueType
String

Default Value

TargetFrame Description
Gets or sets the target frame where the URL specified in TargetURL should be displayed.

ValueType
WebMenuItem

Default Value

GroupName Description
Gets or sets the name for radio menu item which should appear in the same group.

ValueType
String

Default Value

IconViewDisplayMode Description
Gets or sets the display mode when the menu is operating in IconView mode.

ValueType
WebMenuItem

Default Value

IconViewMode Description
Specifies whether this menu should be displayed in IconViewMode.

ValueType
Boolean

Default Value
False
UseFontImage Description
Indicates whether font should be used as replacement for Image. When set to True, the text specified in ImageURL will be rendered using WebDings font.

ValueType
Boolean

Default Value
False
AutoPostBack Description
Specifies whether Postback will be automatically invoked when the MenuItem is clicked

ValueType
Boolean

Default Value
False
Selected Description
Determines whether the current menu item is selected.

ValueType
Boolean

Default Value

Checked Description
Gets or sets whether this menu item is checked. This property only applicable to menu item which Type is either Radio or CheckBox.

ValueType
Boolean

Default Value
False
PredefinedId Description
The predefined identifier for this item.

ValueType
String

Default Value

IsPredefinedItem Description
Indicates whether this menu item is a predefined item. This flag is used to mark built-in menu items used in other Intersoft's product.

ValueType
Boolean

Default Value
False
CustomElement Description
Specify the custom element for the menu item which Type is Custom.

ValueType
String

Default Value

 WebMenuItem Methods

IsUsingImageIconViewMode Description
Determines whether WebMenuItem is using ImageIconViewMode

Parameters

Remarks

Return Value
Boolean

Samples

 
ScrollIntoView Description
To scroll the menu item into view, when scrolling is enabled.

Parameters

Remarks

Return Value

Samples

 
GetElement Description
Gets the HTML element from current WebMenuItem instance.

Parameters

Remarks

Return Value
object (HTML element)

Samples

 
HasSubMenu Description
Determines whether WebMenuItem has SubMenu collection.

Parameters

Remarks

Return Value
Boolean

Samples

 
Click Description
Performs click action on WebMenuItem.

Parameters

Remarks

Return Value

Samples

 
GetPreviousSelectableItem Description
Gets the previous Selectable Item.

Parameters

Remarks

Return Value

Samples

 
GetNextSelectableItem Description
Gets the next Selectable Item.

Parameters

Remarks

Return Value

Samples

 
SetChecked Description
Sets a menu item which Type is Radio or CheckBox to Checked state.

Parameters
isChecked
It will set the item as checked. if it is false, then it will be unchecked.

fromCode ( )
It needs to be set to true when called from API call.


Remarks

Return Value

Samples

 
Enable Description
Enables the WebMenuItem control

Parameters

Remarks

Return Value

Samples

 
Disable Description
Disables the WebMenuItem control

Parameters

Remarks

Return Value

Samples

 
Show Description
Client side (Java Script) function that will show this WebMenuItem instance.

Parameters

Remarks

Return Value

Samples

 
Hide Description
Client side (Java Script) function that will hide this WebMenuItem instance.

Parameters

Remarks

Return Value

Samples

 
SetText Description
Sets the text property of WebMenuItem.

Parameters
text (String)
   Text of the WebMenuItem
   String

Remarks

Return Value

Samples

 
SetImage Description
Sets WebMenuItem's Image URL.

Parameters
imageURL (url(String))
   Address of the image URL

Remarks

Return Value

Samples

 
Destroy Description
Destroys a menu item after it has been removed.

Parameters

Remarks

Return Value

Samples

 
Delete Description
Deletes the WebMenuItem control.

Parameters

Remarks

Return Value

Samples

 
Unselect Description
Deselect the WebMenuItem.

Parameters

Remarks

Return Value

Samples

 
IsSelected Description
Determines whether the WebMenuItem is selected.

Parameters

Remarks

Return Value
Boolean

Samples

 
Select Description
Selects the WebMenuItem.

Parameters
unselectPreviousItem ( )
   Deselect the previous MenuItem.


Remarks

Return Value

Samples

 
IsSubMenuOpen Description
Determines whether SubMenu of WebMenuItem is opened.

Parameters

Remarks

Return Value
Boolean

Samples

 
© 2012 Intersoft Solutions Corp. All Rights Reserved.