Back to Devexpress

LayoutGroup.AllowGlyphSkinning Property

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-aba9138b.md

latest4.4 KB
Original Source

LayoutGroup.AllowGlyphSkinning Property

Gets or sets whether the group or tab’s 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
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public DefaultBoolean AllowGlyphSkinning { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
<XtraSerializableProperty>
Public Property AllowGlyphSkinning As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

Default to use the control’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

|

Remarks

Use the CaptionImageOptions property to access the following options, which allow you to specify the icon in the layout group or tab’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.LocationSpecifies the alignment of the image relative to the text. This property is not in effect in a tab.PaddingSpecifies the amount of space between the icon and the label’s bounds. This property overrides the tabbed group’s CaptionImagePadding property, which specifies the padding for all tabs in the tabbed group.AllowGlyphSkinning

Specifies whether the icon is filled with the control’s foreground color. This property overrides the control’s AllowGlyphSkinning option. You can also use a layout item’s AllowGlyphSkinning option to enable this feature for an individual item.

Tip

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

VisibleSpecifies whether the icon is visible. See Also

OptionsView.AllowGlyphSkinning

LayoutControlItem.AllowGlyphSkinning

OptionsView

Glyph Skinning

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace