Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarItemLink.UserGlyph Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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.ImageOptions.Image 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.ImageOptions.Image 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