Class RibbonDropDownButtonAutomationPeer
Represents the class that exposes the Ribbon Dropdown Button to UI Automation.
Inheritance
System.Object
RibbonDropDownButtonAutomationPeer
Implements
Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.Ribbon.WinUI.dll
Syntax
public class RibbonDropDownButtonAutomationPeer : ButtonAutomationPeer, IExpandCollapseProvider
Constructors
RibbonDropDownButtonAutomationPeer(Button)
Initializes a new instance of the RibbonDropDownButtonAutomationPeer class.
Declaration
public RibbonDropDownButtonAutomationPeer(Button ribbonDropDownButton)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Controls.Button | ribbonDropDownButton | Specifies the Microsoft.UI.Xaml.Controls.Button. |
Properties
ExpandCollapseState
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Automation.ExpandCollapseState |
Methods
Collapse()
Declaration
public void Collapse()
Expand()
Declaration
public void Expand()
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type |
---|
Microsoft.UI.Xaml.Automation.Peers.AutomationControlType |
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
Type |
---|
System.String |
GetPatternCore(PatternInterface)
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Automation.Peers.PatternInterface | patternInterface |
Returns
Type |
---|
System.Object |
Implements
Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider