Back to Devexpress

LayoutControlItemImageOptions.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrolitemimageoptions-a080f51d.md

latest3.8 KB
Original Source

LayoutControlItemImageOptions.AllowGlyphSkinning Property

Gets or sets whether the icon is filled with the control’s foreground color.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

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
LayoutControlItem

.ImageOptions .AllowGlyphSkinning

| | SimpleLabelItem |

.ImageOptions .AllowGlyphSkinning

|

Remarks

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

SvgImageSpecifies a vector image.ImageUriSpecifies a universal resource identifier of an image in the DX Image Gallery.ImageSpecifies a raster image.ImageIndexSpecifies an index of an image in the Images collection.AlignmentSpecifies the alignment of the image in the label.ImageToTextDistanceSpecifies 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.

Tip

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

See Also

LayoutControlItemImageOptions Class

LayoutControlItemImageOptions Members

DevExpress.XtraLayout Namespace