ContextItemCollectionOptions.AllowGlyphSkinning Property
Enables or disables glyph skinning for context items that display images.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
[DefaultValue(false)]
[XtraSerializableProperty]
public bool AllowGlyphSkinning { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, to match a context items‘s raster image color to the item’s text color; false to retain the original raster image color. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowGlyphSkinning |
---|---|
CameraControl |
|
CalendarControlBase |
|
ImageSlider |
|
RepositoryItemPictureEdit |
|
SvgImageBox |
|
TileControl |
|
TileView |
|
Remarks
You can use the the ImageOptionsCollection property to assign a raster image to a context item. The AllowGlyphSkinning property’s true setting can match the raster image color to the text color for consistency.
The image below demonstrates the result.
Alternatively, you can set the AllowGlyphSkinning value in a control’s Properties window.