Back to Devexpress

TileNavPaneDropDownOptions.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilenavpanedropdownoptions-a50cc5c1.md

latest5.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowGlyphSkinning { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowGlyphSkinning As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn 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 TypePath 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.

See Also

OptionsPrimaryDropDown

OptionsSecondaryDropDown

OptionsDropDown

AllowGlyphSkinning

Glyph Skinning

TileNavPaneDropDownOptions Class

TileNavPaneDropDownOptions Members

DevExpress.XtraBars.Navigation Namespace