Skip to main content

NavBarGroup.ItemVisualStyle Property

Gets or sets a style object that defines the appearance of all items within the group. 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 group.

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 group object.

The item appearance defined using the ItemVisualStyle property overrides a common item appearance defined at the view level (via the NavBarViewBase.ItemVisualStyle), and in turn, can be overridden at the item level (via the NavBarItem.VisualStyle property).

See Also