Automation peer for the RadRibbonView class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
public class RibbonViewAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider
Inheritance: objectRibbonViewAutomationPeer
Implements:
Constructors
Initializes a new instance of the RibbonViewAutomationPeer class.
public RibbonViewAutomationPeer(RadRibbonView owner)
The RadRibbonView that will be associated with newly created object.
Properties
ISelectionProvider implementation. Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
public bool CanSelectMultiple { get; }
true if multiple selection is allowed; otherwise false.
ISelectionProvider implementation. Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.
public bool IsSelectionRequired { get; }
true if selection is required; otherwise false.
Methods
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
ItemAutomationPeer
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
protected override Point GetClickablePointCore()
Point
public override object GetPattern(PatternInterface patternInterface)
ISelectionProvider implementation. Retrieves a UI Automation provider for each child element that is selected.
public IRawElementProviderSimple[] GetSelection()
IRawElementProviderSimple[]
An array of UI Automation providers.