Class BackStageButtonAutomationPeer
Class that provides UIAutomation support of Backstage Button
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class BackStageButtonAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider
Constructors
BackStageButtonAutomationPeer(BackStageButton)
Initializes a new instance of theBackStageButtonAutomationPeer
Declaration
public BackStageButtonAutomationPeer(BackStageButton owner)
Parameters
Type | Name | Description |
---|---|---|
BackStageButton | owner | The BackStageButton |
Methods
GetAutomationControlTypeCore()
Provides the peer's behavior when a UI Automation client calls GetAutomationControlType or an equivalent UI Automation client API.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationControlType | The control type. |
GetAutomationIdCore()
Provides the peer's behavior when a UI Automation client calls GetAutomationId or an equivalent UI Automation client API.
Declaration
protected override string GetAutomationIdCore()
Returns
Type | Description |
---|---|
System.String | The automation identifier. |
GetClassNameCore()
Provides the peer's behavior when a UI Automation client calls GetClassName or an equivalent UI Automation client API.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | The class name. |
GetHelpTextCore()
Provides the peer's behavior when a UI Automation client calls GetHelpText or an equivalent UI Automation client API.
Declaration
protected override string GetHelpTextCore()
Returns
Type | Description |
---|---|
System.String | The help text. |
GetNameCore()
Provides the peer's behavior when a UI Automation client calls GetName or an equivalent UI Automation client API.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | The name as used by assistive technoloGetClassNameCoreies and other UI Automation clients. Or backstage. |
GetPattern(PatternInterface)
Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Automation.Peers.PatternInterface | patternInterface | A value from the enumeration. |
Returns
Type | Description |
---|---|
System.Object | returns the pattern |
Invoke()
Invokes BackStageButton Click event.
Declaration
public void Invoke()