Back to Devexpress

OptionsView.DrawItemBorders Property

windowsforms-devexpress-dot-xtralayout-dot-optionsview-53a4655a.md

latest2.2 KB
Original Source

OptionsView.DrawItemBorders Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public bool DrawItemBorders { get; set; }
vb
<DefaultValue(False)>
Public Property DrawItemBorders As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

AllowItemSkinning

ItemBorderColor

OptionsView Class

OptionsView Members

DevExpress.XtraLayout Namespace