LayoutGroup.HasAccent Property

Gets or sets whether the group is marked with a special flag (has a special accent) that makes the group painted with different outer indents. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v20.1.dll

Declaration

public bool? HasAccent { get; set; }
Public Property HasAccent As Boolean?

Property Value

Type Description
Nullable<Boolean>

A Nullable Boolean type that specifies whether the group is marked with a special flag that affects its painting.

Remarks

This property is designed to be used for groups without borders (the LayoutGroup.GroupBorderStyle property is set to GroupBorderStyle.NoBorder).

If the HasAccent property is set to Null or False, the group's outer indents are equal to the outer indents of regular LayoutControlItems. So the group is not conspicuous from among sibling layout items. If the HasAccent property is set to True, the group's outer indents are increased, so the group becomes more conspicuous.

In the following image, the City, Region and Postal Code items are combined into a borderless group. The HasAccent property is set to Null(by default), so the group is not indented from the sibling items:

HasAccent_1

If the HasAccent property is set to True, the group gets larger outer indents:

HasAccent_2

See Also