ClassRibbonViewAutomationPeer
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
RibbonViewAutomationPeer(RadRibbonView)
Initializes a new instance of the RibbonViewAutomationPeer class.
Declaration
public RibbonViewAutomationPeer(RadRibbonView owner)
Parameters
owner
The RadRibbonView that will be associated with newly created object.
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
CreateItemAutomationPeer(object)
Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
item
Returns
ItemAutomationPeer
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetClickablePointCore()
Declaration
protected override Point GetClickablePointCore()
Returns
Point
GetPattern(PatternInterface)
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
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.