Skip to main content

OptionsView.DrawItemBorders Property

Gets or sets whether layout item borders are visible at runtime.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
public bool DrawItemBorders { get; set; }

Property Value

Type Default Description
Boolean false

true if item borders are visible at runtime; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to DrawItemBorders
LayoutControl
.OptionsView .DrawItemBorders

Remarks

To specify the color used to paint item borders, use the OptionsView.ItemBorderColor property.

The OptionsView.AllowItemSkinning option must be set to true to make item borders visible in a skinning paint scheme.

Note

In specific skins (e.g. DevExpress Style), borders for layout items are not supported and the DrawItemBorders property is ignored. These skins, unlike other skins, do not have skin elements used to paint layout item borders.

See Also