ClassBackstageItemAutomationPeer
Definition
Namespace:Telerik.UI.Automation.Peers
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class BackstageItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider
Inheritance: objectBackstageItemAutomationPeer
Implements:
Constructors
BackstageItemAutomationPeer(object, ItemsControlAutomationPeer)
Initializes a new instance of the BackstageItemAutomationPeer class.
Declaration
public BackstageItemAutomationPeer(object owner, ItemsControlAutomationPeer parentPeer)
Parameters
owner
parentPeer
ItemsControlAutomationPeer
Properties
IsSelected
ISelectionItemProvider implementation. Gets a value that indicates whether an item is selected.
Declaration
public bool IsSelected { get; }
Property Value
True if the element is selected; otherwise false.
SelectionContainer
ISelectionItemProvider implementation. Gets the UI Automation provider that implements and acts as the container for the calling object.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
IRawElementProviderSimple
The provider that supports .
Methods
AddToSelection()
ISelectionItemProvider implementation. Adds the current element to the collection of selected items.
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
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 RadRibbonBackstageItem that is associated with this BackstageItemAutomationPeer.
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.
RemoveFromSelection()
ISelectionItemProvider implementation. Removes the current element from the collection of selected items.
Declaration
public void RemoveFromSelection()
Select()
ISelectionItemProvider implementation. Deselects any selected items and then selects the current element.
Declaration
public void Select()