ASPxNavBar.LinkStyle Property
Gets an object that contains style settings to be applied to links in the navbar control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
LinkStyle | A LinkStyle object that contains the style settings of links. |
Remarks
The navbar control can display the following its elements as links:
- the caption of an item, if the item’s NavBarItem.NavigateUrl property is specified;
- the caption of a group header, if the group’s NavBarGroup.NavigateUrl property is specified.
The LinkStyle property provides access to the style settings that define the appearance of all links within the navbar control. Using the settings available via the LinkStyle property, you can specify the style for normal, hovered and visited states of links.
The image below shows two NavBars in two link modes - ContentBounds and TextOnly.
See Also