Skip to main content

TileNavPaneDropDownOptions.AllowGlyphSkinning Property

Gets or sets whether the glyphs of all tiles in the drop-down tile bar are painted using their foreground color.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowGlyphSkinning { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

The DefaultBoolean enumeration value specifying whether the glyphs of all tiles in the drop-down tile bar are painted using their foreground color.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowGlyphSkinning
TileNavElement
.OptionsDropDown .AllowGlyphSkinning
TileNavPane
.OptionsPrimaryDropDown .AllowGlyphSkinning

Remarks

The AllowGlyphSkinning property controls the glyph skinning feature for all tiles in the drop-down tile bar. If this feature is enabled, each glyph in the drop-down is painted using the foreground color of its tile. Glyph skinning color correlates with the state (normal, hovered, selected) of the tile. For instance, the glyph skinning color of a tile in the normal state can be specified with the TileNavElement.Tile.AppearanceItem.Normal.ForeColor property. If the skinning feature is disabled, the glyphs are rendered as they are.

The drop-down settings of the primary and secondary drop-down tile bar can be accessed via the TileNavPane.OptionsPrimaryDropDown and TileNavPane.OptionsSecondaryDropDown properties, respectively. The Default value assigned to the TileNavPane.OptionsPrimaryDropDown.AllowGlyphSkinning and TileNavPane.OptionsSecondaryDropDown.AllowGlyphSkinning properties means that the glyph skinning feature is controlled by the TileNavPane.AllowGlyphSkinning property.

The TileNavElement.OptionsDropDown property provides access to settings applied to the drop-down tile bar invoked by a particular TileNavElement. The Default value assigned to the TileNavElement.OptionsDropDown.AllowGlyphSkinning property means that the glyph skinning feature of the drop-down tile bar associated with this TileNavElement is controlled by the TileNavPane.OptionsPrimaryDropDown.AllowGlyphSkinning and TileNavPane.OptionsSecondaryDropDown.AllowGlyphSkinning properties.

To override these settings for a particular tile in the drop-down tile bar, use the TileNavElement.Tile.AllowGlyphSkinning property. See TileItem.AllowGlyphSkinning for more details.

The figure below demonstrates the disabled and enabled glyph skinning feature in the primary drop-down tile bar.

TileNavPane_GlyphSkinning

See Also