Bar

BarItemLink.UserPaintStyle Property

Gets or sets the link's paint style defined by a user.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
[XtraSerializableProperty]
public BarItemPaintStyle UserPaintStyle { get; set; }
<Browsable(False)>
<XtraSerializableProperty>
Public Property UserPaintStyle As BarItemPaintStyle

Property Value

Type Description
BarItemPaintStyle

A BarItemPaintStyle enumerator value specifying the link's paint style defined by a user.

Remarks

The link's paint style can be specified by the corresponding item's BarItem.PaintStyle property or by the link's UserPaintStyle property. The latter gives you the capability to specify the link's unique paint style. This allows you to provide several links to the same item but with different styles. The link's BarLinkUserDefines.PaintStyle option determines which of these properties specifies the link's paint style. Thus, if this option is enabled, the paint style is specified by the link's UserPaintStyle property, otherwise, by the corresponding item's BarItem.PaintStyle property.

Options that specify which link settings are determined by a user can be accessed using the BarItemLink.UserDefine property. Note that individual options can be enabled/disabled only in code. To disable all user defined options, call the BarItemLink.Reset method.

See Also