ClassBackstageAutomationPeer
Definition
Namespace:Telerik.UI.Automation.Peers
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class BackstageAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider
Inheritance: objectBackstageAutomationPeer
Implements:
Constructors
BackstageAutomationPeer(RadRibbonBackstage)
Declaration
public BackstageAutomationPeer(RadRibbonBackstage backstage)
Parameters
backstage
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
public bool CanSelectMultiple { get; }
Property Value
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
public bool IsSelectionRequired { get; }
Property Value
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
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Declaration
protected override IList<AutomationPeer> GetChildrenCore()
Returns
IList<AutomationPeer>
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetPatternCore(PatternInterface)
Gets the control pattern for the RadRibbonBackstage that is associated with this BackstageAutomationPeer.
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
One of the enumeration values.
Returns
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
public IRawElementProviderSimple[] GetSelection()
Returns
IRawElementProviderSimple[]
An array of UI Automation providers.
OnCreateItemAutomationPeer(object)
Declaration
protected override ItemAutomationPeer OnCreateItemAutomationPeer(object item)
Parameters
item
Returns
ItemAutomationPeer