Skip to content

Expander class

A control with a clickable header that expands/collapses its content.

Guide: C# Markup reference: Content

public class Expander : HeaderedContentControl
name description
Expander() The default constructor.
GlyphSize { get; set; } Gets or sets the chevron glyph size.
IsExpanded { get; set; } Gets or sets whether the content is expanded.
event ExpandedChanged Occurs when the expanded state changes.
static readonly GlyphSizeProperty
static readonly IsExpandedProperty
const PART_HEADER_TOGGLE The optional toggle part of a template; its checked state and IsExpanded follow each other.