Skip to main content

NavigationBar

Namespace: Wisej.Web.Ext.NavigationBar

Assembly: Wisej.Web.Ext.NavigationBar

Represents a responsive vertical navigation bar that displays an application header with logo, child items, and a user panel with gravatar and other user information.

public class NavigationBar : FlexLayoutPanel, IWisejDesignTarget

Constructors

Initializes a new instance of NavigationBar.

Properties

Instance memberCompactView

Boolean: Returns or sets the compact view mode. (Default: False)

Instance memberEnableKeyboardNavigation

Boolean: Allows the user to change the SelectedItem using the keyboard. (Default: False)

Instance memberIndentation

Int32: Returns or sets the indentation in pixels for child items. (Default: 0)

Instance memberItemHeight

Int32: Returns or sets the height of the child NavigationBarItem elements. (Default: 45)

Instance memberItems

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

String: Returns or sets the logo to display in the title. (Default: "")

Instance memberSelectedItem

NavigationBarItem: Returns or sets the selected item.

Instance memberShowHeader

Boolean: Shows or hides the header panel. (Default: True)

Instance memberShowUser

Boolean: Shows or hides the user panel. (Default: True)

Instance memberText

String: Returns or sets the text to display in the title. (Default: "")

Instance memberUserAvatar

String: Returns or sets the user avatar to display in the user panel.

Instance memberUserName

String: Returns or sets the user name to display in the user panel. (Default: "")

Instance memberUserStatus

String: Returns or sets the status text to display in the user panel. (Default: "")

Instance memberUserStatusColor

Color: Returns or sets the status color to display in the user panel. (Default: Color [Empty])

Methods

Instance memberGetGravatarUrl(email)

Returns the URL for the en.gravatar associated to specified email address.

ParameterTypeDescription
emailStringEmail address for which to retrieve the gravatar URL.

Returns: String.

Events

Instance memberCompactViewChanged

EventHandler Fired when the value of the property CompactView changes.

Instance memberItemClick

NavigationBarItemClickEventHandler Fired when the user clicks an item in the NavigationBar.

Instance memberItemInfoClick

NavigationBarItemClickEventHandler Fired when the user clicks the InfoText in a NavigationBarItem.

Instance memberItemShortcutClick

NavigationBarItemClickEventHandler Fired when the user clicks the ShortcutIcon in a NavigationBarItem.

Instance memberSelectedItemChanged

EventHandler Fired when the value of the property SelectedItem changes.

Instance memberTitleClick

EventHandler Fired when the user clicks the title header.

Instance memberUserClick

EventHandler Fired when the user clicks the user information panel.