Skip to main content

MVCxClientNavBar Methods

A client-side counterpart of the NavBar extension.
Name Description
AdjustControl Modifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls static Modifies the controls size within the specified container. Inherited from ASPxClientControl.
Cast(obj) static Converts the specified object to the MVCxClientNavBar type.
CollapseAll Collapses all groups of the navbar. Inherited from ASPxClientNavBar.
ExpandAll Expands all groups of the navbar. Inherited from ASPxClientNavBar.
GetActiveGroup Returns the navbar’s active group. Inherited from ASPxClientNavBar.
GetClientVisible Obsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetControlCollection static Returns a collection of client web control objects. Inherited from ASPxClientControl.
GetGroup(index) Returns a group specified by its index. Inherited from ASPxClientNavBar.
GetGroupByName(name) Returns a group specified by its name. Inherited from ASPxClientNavBar.
GetGroupCount Returns the number of groups in the navbar. Inherited from ASPxClientNavBar.
GetHeight Returns the control’s height. Inherited from ASPxClientControl.
GetItemByName(name) Returns an item specified by its name. Inherited from ASPxClientNavBar.
GetMainElement Returns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetParentControl Returns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetSelectedItem Returns the selected item within the navbar control. Inherited from ASPxClientNavBar.
GetVisible Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetWidth Returns the control’s width. Inherited from ASPxClientControl.
InCallback Returns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase.
SendMessageToAssistiveTechnology(message) Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase.
SetActiveGroup(group) Makes the specified group active. Inherited from ASPxClientNavBar.
SetClientVisible(visible) Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetHeight(height)

Specifies the control’s height. Note that this method is not in effect for some controls.

Inherited from ASPxClientControl.
SetSelectedItem(item) Selects the specified item within the navbar control on the client side. Inherited from ASPxClientNavBar.
SetVisible(visible) Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetWidth(width) Specifies the control’s width in pixels. Inherited from ASPxClientControl.
See Also