New to Telerik UI for WPFStart a free 30-day trial

Automation peer for the RadRibbonView class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
public class RibbonViewAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider

Inheritance: objectRibbonViewAutomationPeer

Implements: ISelectionProvider

Constructors

Initializes a new instance of the RibbonViewAutomationPeer class.

C#
public RibbonViewAutomationPeer(RadRibbonView owner)
Parameters:ownerRadRibbonView

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.

C#
public bool CanSelectMultiple { get; }
Property Value:

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.

C#
public bool IsSelectionRequired { get; }
Property Value:

true if selection is required; otherwise false.

Methods

C#
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters:itemobjectReturns:

ItemAutomationPeer

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override Point GetClickablePointCore()
Returns:

Point

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetNameCore()
Returns:

string

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterfaceReturns:

object

ISelectionProvider implementation. Retrieves a UI Automation provider for each child element that is selected.

C#
public IRawElementProviderSimple[] GetSelection()
Returns:

IRawElementProviderSimple[]

An array of UI Automation providers.