Class XRibbonButtonAutomationPeer
Class that provides UI Automation support of XRibbonButtonAutomationPeer.
Inheritance
System.Object
XRibbonButtonAutomationPeer
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class XRibbonButtonAutomationPeer : ItemAutomationPeer
Constructors
XRibbonButtonAutomationPeer(Object, ItemsControlAutomationPeer)
Initializes a new instance of the XRibbonButtonAutomationPeer class.
Declaration
public XRibbonButtonAutomationPeer(object item, ItemsControlAutomationPeer itemsControlAutomationPeer)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The control. |
System.Windows.Automation.Peers.ItemsControlAutomationPeer | itemsControlAutomationPeer | The control. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationControlType | The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value. |
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
Type |
---|
System.String |
GetPattern(PatternInterface)
When overridden in a derived class, gets the control pattern that is associated with the specified PatternInterface.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Automation.Peers.PatternInterface | patternInterface | A value from the PatternInterface enumeration. |
Returns
Type | Description |
---|---|
System.Object | The object that implements the pattern interface; null if this peer does not support this interface. |