Skip to main content

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.1.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