Skip to main content
A newer version of this page is available. .

ContextItemCollectionOptions.AllowGlyphSkinning Property

Enables or disables glyph skinning for context items that display images.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.2.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:

Show 49 property paths
Object Type Path to AllowGlyphSkinning
AccordionControl
.ContextButtonsOptions .AllowGlyphSkinning
TileBar
.ContextButtonOptions .AllowGlyphSkinning
BaseCheckedListBoxControl
.ContextButtonOptions .AllowGlyphSkinning
BaseDateControl
.ContextButtonOptions .AllowGlyphSkinning
BaseImageListBoxControl
.ContextButtonOptions .AllowGlyphSkinning
BaseListBoxControl
.ContextButtonOptions .AllowGlyphSkinning
CameraControl
.ContextButtonOptions .AllowGlyphSkinning
CheckedListBoxControl
.ContextButtonOptions .AllowGlyphSkinning
CalendarControl
.ContextButtonOptions .AllowGlyphSkinning
CalendarControlBase
.ContextButtonOptions .AllowGlyphSkinning
ImageSlider
.ContextButtonOptions .AllowGlyphSkinning
DateControl
.ContextButtonOptions .AllowGlyphSkinning
ImageListBoxControl
.ContextButtonOptions .AllowGlyphSkinning
ListBoxControl
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemBaseSpinEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemBlobBaseEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemBreadCrumbEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemCalcEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemCheckedComboBoxEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemColorEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemColorPickEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemComboBox
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemDateEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemDateTimeOffsetEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemFontEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemGridLookUpEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemGridLookUpEditBase
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemImageComboBox
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemImageEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemLookUpEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemLookUpEditBase
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemMemoExEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemMRUEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemPictureEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemPopupBase
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemPopupBaseAutoSearchEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemPopupContainerEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemPopupGalleryEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemSearchControl
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemSearchLookUpEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemSpinEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemTimeEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemTimeSpanEdit
.ContextButtonOptions .AllowGlyphSkinning
RepositoryItemTreeListLookUpEdit
.ContextButtonOptions .AllowGlyphSkinning
SvgImageBox
.ContextButtonOptions .AllowGlyphSkinning
TileControl
.ContextButtonOptions .AllowGlyphSkinning
TileViewOptionsKanban
.GroupHeaderContextButtonOptions .AllowGlyphSkinning
DateNavigator
.ContextButtonOptions .AllowGlyphSkinning
ResourcesCheckedListBoxControl
.ContextButtonOptions .AllowGlyphSkinning

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.

pictureEdit1.Properties.ContextButtonOptions.AllowGlyphSkinning = true;

The image below demonstrates the result.

AllowGlyphSkinning

Alternatively, you can set the AllowGlyphSkinning value in a control’s Properties window.

PropertiesAllowGlyphSkinning

See Also