Skip to main content

NavBarGroup.VisualStyle Property

Gets or sets a style object that defines the appearance of the group's header. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

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

#Declaration

public Style VisualStyle { get; set; }

#Property Value

Type Description
Style

A Style object containing group style settings.

#Remarks

Use the VisualStyle property to control the header appearance of an individual 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 VisualStyle property allows a style containing settings of these attached properties to be applied to a group object.

Using the VisualStyle property of a group, you can override a common header appearance defined for all groups at the view level (via the NavBarViewBase.GroupVisualStyle property), if any.

See Also