DropDownButtonAutomationPeer
C# API / Fluence.Wpf.Automation
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Automation
public class DropDownButtonAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider
Exposes DropDownButton to UI Automation with the ExpandCollapse pattern.
Remarks: Initializes a new instance.
Parameter owner: The DropDownButton control represented by this automation peer.
Base type: FrameworkElementAutomationPeer (including inherited WPF and .NET members)
Constructors
DropDownButtonAutomationPeer
public DropDownButtonAutomationPeer(DropDownButton owner)
Exposes DropDownButton to UI Automation with the ExpandCollapse pattern.
Remarks: Initializes a new instance.
Parameter owner: The DropDownButton control represented by this automation peer.
Properties
ExpandCollapseState
public virtual ExpandCollapseState ExpandCollapseState { get; }
Documentation inherited from the FrameworkElementAutomationPeer API.
Methods
Collapse
public virtual void Collapse()
Documentation inherited from the FrameworkElementAutomationPeer API.
Exception System.Windows.Automation.ElementNotEnabledException: The control is disabled.
Expand
public virtual void Expand()
Documentation inherited from the FrameworkElementAutomationPeer API.
Exception System.Windows.Automation.ElementNotEnabledException: The control is disabled.
GetAutomationControlTypeCore
protected override AutomationControlType GetAutomationControlTypeCore()
Documentation inherited from the FrameworkElementAutomationPeer API.
GetClassNameCore
protected override string GetClassNameCore()
Documentation inherited from the FrameworkElementAutomationPeer API.
GetPattern
public override object GetPattern(PatternInterface patternInterface)
Documentation inherited from the FrameworkElementAutomationPeer API.