Class RibbonViewAutomationPeer
Automation peer for the RadRibbonView class.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
public class RibbonViewAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider
Constructors
RibbonViewAutomationPeer(RadRibbonView)
Initializes a new instance of the RibbonViewAutomationPeer class.
Declaration
public RibbonViewAutomationPeer(RadRibbonView owner)
Parameters
RadRibbonView
owner
The RadRibbonView that will be associated with newly created Telerik.Windows.Controls.RibbonViewAutomationPeer 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
System.Boolean
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
System.Boolean
true if selection is required; otherwise false. |
Methods
CreateItemAutomationPeer(Object)
Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
System.Object
item
|
Returns
System.Windows.Automation.Peers.ItemAutomationPeer
|
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
|
GetChildrenCore()
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetClickablePointCore()
Declaration
protected override Point GetClickablePointCore()
Returns
System.Windows.Point
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
System.String
|
GetPattern(PatternInterface)
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
|
Returns
System.Object
|
GetSelection()
ISelectionProvider implementation. Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]
An array of UI Automation providers. |