Table of Contents

Class MultiCommandButtonAutomationPeer

Namespace
The.WPF.Controls
Assembly
Instagile.WPF.dll

The ItemsControl automation peer only exposes item wrappers, hiding template children — most importantly PART_DropDownButton, leaving the control un-openable via UI Automation (screen readers, UI tests). Walking the visual tree instead exposes the dropdown button and, while open, the popup items.

public class MultiCommandButtonAutomationPeer : FrameworkElementAutomationPeer
Inheritance
MultiCommandButtonAutomationPeer
Inherited Members

Constructors

MultiCommandButtonAutomationPeer(MultiCommandButton)

public MultiCommandButtonAutomationPeer(MultiCommandButton owner)

Parameters

owner MultiCommandButton

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The Custom enumeration value.

GetClassNameCore()

Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string

An Empty string.