windowsforms-devexpress-dot-xtralayout-dot-optionsview-53a4655a.md
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
[DefaultValue(false)]
public bool DrawItemBorders { get; set; }
<DefaultValue(False)>
Public Property DrawItemBorders As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if item borders are visible at runtime; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to DrawItemBorders |
|---|---|
| LayoutControl |
.OptionsView .DrawItemBorders
|
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