New to Telerik UI for WPFStart a free 30-day trial

Represents the Automation Peer for the Group headers.

Definition

Constructors

Initializes a new instance of the GroupHeaderAutomationPeer class.

C#
public GroupHeaderAutomationPeer(GroupHeader owner)
Parameters:ownerGroupHeader

Properties

ExpandCollapseState

ExpandCollapseState

Gets the expand-collapse state of the GroupHeader.

C#
public ExpandCollapseState ExpandCollapseState { get; }

Gets the owner group header of the GroupHeaderAutomationPeer class.

C#
public GroupHeader GroupHeader { get; }

Methods

Collapses the group header.

C#
public void Collapse()

Expands the group header.

C#
public void Expand()

Returns the control type for the UIElement associated with this AutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren().

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

The collection of child elements.

When overridden in a derived class, gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

A value from the System.Windows.Automation.Peers.PatternInterface enumeration.

Returns:

object

The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration.