NavigationBarItem

Wisej.Web.Ext.NavigationBar.NavigationBarItem

Namespace: Wisej.Web.Ext.NavigationBar

Assembly: Wisej.Web.Ext.NavigationBar (3.2.0.0)

Represents a navigation item in the NavigationBar control.

public class NavigationBarItem : FlexLayoutPanel

Constructors

Initializes a new instance of the NavigationBarItem class.

Properties

AllowHtml

Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False)

BackColor

Color: Returns or sets the background color.

Cursor

Cursor: Returns or sets the icon of the NavigationBarItem. (Default: null)

Expanded

Boolean: Expands or collapses child items. (Default: False)

ExpandOnClick

Boolean: Determines whether to expand or collapse the item when clicking the item rather than having to click the open/close icon. (Default: True)

ForeColor

Color: Returns or sets the text color.

HasChildren

Boolean: Returns whether the NavigationBarItem contains child items.

Hidden

Boolean: Returns or sets the visibility of the NavigationBarItem. (Default: False)

Icon

String: Returns or sets the icon of the NavigationBarItem. (Default: null)

IconVisible

Boolean: Returns or sets whether the item's icon is visible. (Default: True)

InfoText

String: Returns or sets the text to show in the info "bubble" next to the item. (Default: "")

InfoTextBackColor

Color: Returns or sets the background color of the info "bubble".

InfoTextForeColor

Color: Returns or sets the text color of the info "bubble".

Items

NavigationBarItemCollection: Returns the collection of items to display in the NavigationBarItem.

Level

Int32: Returns the indentation level of this NavigationBarItem item.

NavigationBar: Returns the owner NavigationBar.

Parent

NavigationBarItem: Returns the parent NavigationBarItem or null.

Selected

Boolean: Returns whether the NavigationBarItem is the currently selected item.

ShortcutIcon

String: Returns or sets the shortcut icon. (Default: "spinner-plus")

ShowShortcut

Boolean: Shows or hides the shortcut button. (Default: False)

Text

String: Returns or sets the title of the NavigationBarItem. (Default: "")

Visible

Boolean:

Methods

ResetBackColor()

ResetForeColor()

Update()

Events

Collapse

EventHandler Fired when the NavigationBarItem is collapsed to hide child items.

Expand

EventHandler Fired when the NavigationBarItem is expanded to show the child items.

InfoClick

EventHandler Fired when the user clicks the info "bubble".

MouseEnter

EventHandler

MouseLeave

EventHandler

ShortcutClick

EventHandler Fired when the user clicks the shortcut icon.

Swipe

SwipeEventHandler

Last updated

Was this helpful?