Class
BackstageAutomationPeer

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class BackstageAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider

Inheritance: objectBackstageAutomationPeer

Implements: ISelectionProvider

Constructors

BackstageAutomationPeer(RadRibbonBackstage)

Declaration

cs-api-definition
public BackstageAutomationPeer(RadRibbonBackstage backstage)

Parameters

backstage

RadRibbonBackstage

Properties

CanSelectMultiple

ISelectionProvider implementation. Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Declaration

cs-api-definition
public bool CanSelectMultiple { get; }

Property Value

bool

true if multiple selection is allowed; otherwise false.

IsSelectionRequired

ISelectionProvider implementation. Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

Declaration

cs-api-definition
public bool IsSelectionRequired { get; }

Property Value

bool

true if selection is required; otherwise false.

Methods

GetAutomationControlTypeCore()

Gets the control type for the that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

Declaration

cs-api-definition
protected override IList<AutomationPeer> GetChildrenCore()

Returns

IList<AutomationPeer>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPatternCore(PatternInterface)

Gets the control pattern for the RadRibbonBackstage that is associated with this BackstageAutomationPeer.

Declaration

cs-api-definition
protected override object GetPatternCore(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

One of the enumeration values.

Returns

object

The object that implements the pattern interface, or null.

GetSelection()

ISelectionProvider implementation. Retrieves a UI Automation provider for each child element that is selected.

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetSelection()

Returns

IRawElementProviderSimple[]

An array of UI Automation providers.

OnCreateItemAutomationPeer(object)

Declaration

cs-api-definition
protected override ItemAutomationPeer OnCreateItemAutomationPeer(object item)

Parameters

item

object

Returns

ItemAutomationPeer