Skip to main content
Bar

BarItemLink.UserGlyph Property

Gets or sets the link’s glyph defined by a user.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[Browsable(false)]
public Bitmap UserGlyph { get; set; }

Property Value

Type Description
Bitmap

A Bitmap object representing a user-defined glyph.

Remarks

The link’s glyph can be specified by the corresponding item’s BarItem.Glyph property or by the link’s UserGlyph property. The latter gives you the capability to specify the link’s unique glyph. This allows you to provide several links to the same item but with different glyphs. The link’s BarLinkUserDefines.Glyph option determines which of these properties specifies the link’s glyph. Thus, if this option is enabled, the glyph is specified by the link’s UserGlyph property, otherwise, by the corresponding item’s BarItem.Glyph 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 via code. To disable all user defined options, call the BarItemLink.Reset method.

See Also