Skip to main content

AccordionItem.Glyph Property

Gets or sets an image displayed within the accordion item. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v23.2.dll

NuGet Package: DevExpress.Wpf.Accordion

Declaration

public ImageSource Glyph { get; set; }

Property Value

Type Description
ImageSource

An ImageSource object that specifies the image displayed within the accordion item.

Remarks

Use the Glyph property to specify the accordion item’s glyph. The following code sample demonstrates how to use this property:

<dxa:AccordionControl>
   <dxa:AccordionItem Header="Root Item" Glyph="{dx:DXImage Image=Image_32x32.png}">
      <dxa:AccordionItem Header="SubItem" Glyph="{dx:DXImage Image=Map_16x16.png}"/>
      <dxa:AccordionItem Header="SubItem" Glyph="{dx:DXImage Image=Map_16x16.png}"/>                    
   </dxa:AccordionItem>
</dxa:AccordionControl>

The image below shows the result:

AccordionItemCustomizationGlyph

Refer to the Item Glyph Customization topic to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Glyph property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also