SplitButtonAutomationPeer
C# API / Fluence.Wpf.Automation
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Automation
public class SplitButtonAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider, IExpandCollapseProvider
Exposes SplitButton to UI Automation with the Invoke pattern (primary half) and the ExpandCollapse pattern (flyout half).
Remarks: Initializes a new instance.
Parameter owner: The SplitButton control represented by this automation peer.
Base type: FrameworkElementAutomationPeer (including inherited WPF and .NET members)
Constructors
SplitButtonAutomationPeer
public SplitButtonAutomationPeer(SplitButton owner)
Exposes SplitButton to UI Automation with the Invoke pattern (primary half) and the ExpandCollapse pattern (flyout half).
Remarks: Initializes a new instance.
Parameter owner: The SplitButton 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.
Invoke
public virtual void Invoke()
Documentation inherited from the FrameworkElementAutomationPeer API.
Exception System.Windows.Automation.ElementNotEnabledException: The control is disabled.