NavigationBar
Wisej.Web.Ext.NavigationBar.NavigationBar
Namespace: Wisej.Web.Ext.NavigationBar
Assembly: Wisej.Web.Ext.NavigationBar (3.2.0.0)
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, IWisejDesignTargetPublic Class NavigationBar
Inherits FlexLayoutPanel
Implements IWisejDesignTargetConstructors
NavigationBar()
Initializes a new instance of NavigationBar.
Properties
CompactView
Boolean: Returns or sets the compact view mode. (Default: False)
EnableKeyboardNavigation
Boolean: Allows the user to change the SelectedItem using the keyboard. (Default: False)
Indentation
Int32: Returns or sets the indentation in pixels for child items. (Default: 0)
ItemHeight
Int32: Returns or sets the height of the child NavigationBarItem elements. (Default: 45)
Items
NavigationBarItemCollection: Returns the collection of items to display in the NavigationBar.
Logo
String: Returns or sets the logo to display in the title. (Default: "")
SelectedItem
NavigationBarItem: Returns or sets the selected item.
ShowHeader
Boolean: Shows or hides the header panel. (Default: True)
ShowUser
Boolean: Shows or hides the user panel. (Default: True)
Text
String: Returns or sets the text to display in the title. (Default: "")
UserAvatar
String: Returns or sets the user avatar to display in the user panel.
UserName
String: Returns or sets the user name to display in the user panel. (Default: "")
UserStatus
String: Returns or sets the status text to display in the user panel. (Default: "")
UserStatusColor
Color: Returns or sets the status color to display in the user panel. (Default: Color [Empty])
Methods
GetGravatarUrl(email)
Returns the URL for the en.gravatar associated to specified email address.
Returns: String.
Events
CompactViewChanged
EventHandler Fired when the value of the property CompactView changes.
ItemClick
NavigationBarItemClickEventHandler Fired when the user clicks an item in the NavigationBar.
ItemInfoClick
NavigationBarItemClickEventHandler Fired when the user clicks the InfoText in a NavigationBarItem.
ItemShortcutClick
NavigationBarItemClickEventHandler Fired when the user clicks the ShortcutIcon in a NavigationBarItem.
SelectedItemChanged
EventHandler Fired when the value of the property SelectedItem changes.
TitleClick
EventHandler Fired when the user clicks the title header.
UserClick
EventHandler Fired when the user clicks the user information panel.
Last updated
Was this helpful?