Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CategoryDefinition.Glyph Property

Gets or sets an image displayed within a category header. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

#Declaration

public ImageSource Glyph { get; set; }

#Property Value

Type Description
ImageSource

An ImageSource object that specifies the image displayed within a category header.

#Remarks

Use the Glyph property to display a custom image in a category header. The Glyph property is in effect if the PropertyGridControl.ShowCategories property is set to Tabbed.

PropertyGrid TabbedView

<Window ...
        xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core">
...
<dxprg:PropertyGridControl SelectedObject="{Binding DemoSupplier}" ShowProperties="All" ShowCategories="Tabbed">
    <dxprg:CategoryDefinition Path="Style" Glyph="{dx:DXImage Image=Customization_32x32.png}"/>
    <dxprg:CategoryDefinition Path="Effects" Glyph="{dx:DXImage Image=Effects_32x32.png}"/>
    <dxprg:CategoryDefinition Path="SeriesOptions" Glyph="{dx:DXImage Image=SeriesOptions_32x32.png}"/>
</dxprg:PropertyGridControl>
See Also