wpf-devexpress-dot-xpf-dot-propertygrid-dot-categorydefinition.md
Gets or sets an image displayed within a category header. This is a dependency property.
Namespace : DevExpress.Xpf.PropertyGrid
Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PropertyGrid
public ImageSource Glyph { get; set; }
Public Property Glyph As ImageSource
| Type | Description |
|---|---|
| ImageSource |
An ImageSource object that specifies the image displayed within a category header.
|
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.
<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