Class MultiCommandButtonAutomationPeer
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
ownerMultiCommandButton
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()