Skip to main content

NavBarViewBase.ItemVisualStyle Property

Gets or sets a style object that defines the appearance of all items within the view. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v14.2.dll

#Declaration

public Style ItemVisualStyle { get; set; }

#Property Value

Type Description
Style

A Style object containing item style settings.

#Remarks

Use the ItemVisualStyle property to control the appearance of all items within the view.

NOTE

A view's attached properties (such as the NavBarViewBase.DisplayMode, NavBarViewBase.LayoutSettings, NavBarViewBase.ImageSettings) can be applied to the required object (a view, group or item) only through a style. The ItemVisualStyle property allows a style containing settings of these attached properties to be applied to a view object.

The item appearance defined using the ItemVisualStyle property, can be overridden at the group level (via the NavBarGroup.ItemVisualStyle property) and at the item level (via the NavBarItem.VisualStyle property).

See Also