Skip to main content

LayoutControlItem.AllowGlyphSkinning Property

Gets or sets whether a label’s icon is filled with the label’s foreground color. This property is obsolete. Use the LayoutControlItem.ImageOptions.AllowGlyphSkinning property instead.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public DefaultBoolean AllowGlyphSkinning { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

Default to use the parent group’s AllowGlyphSkinning option; True to fill the icon with the label’s foreground color; False to display the icon as it is.

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

Remarks

Use the ImageOptions property to access the following options, which allow you to specify the icon in the layout item’s label:

SvgImage
Specifies a vector image.
ImageUri
Specifies a universal resource identifier of an image in the DX Image Gallery.
Image
Specifies a raster image.
ImageIndex
Specifies an index of an image in the Images collection.
Alignment
Specifies the alignment of the image in the label.
ImageToTextDistance
Specifies the distance between the label’s text and icon.
AllowGlyphSkinning

Specifies whether the icon is filled with the label’s foreground color. This property overrides AllowGlyphSkinning options specified at the level of the parent group/owner control.

LayoutControlItem - Glyph Skinning

Tip

We recommend using gray-scale icons from the DX Image Gallery for best visual results.

See Also