Class
RibbonViewAutomationPeer

Automation peer for the RadRibbonView class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

cs-api-definition
public class RibbonViewAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider

Inheritance: objectRibbonViewAutomationPeer

Implements: ISelectionProvider

Constructors

RibbonViewAutomationPeer(RadRibbonView)

Initializes a new instance of the RibbonViewAutomationPeer class.

Declaration

cs-api-definition
public RibbonViewAutomationPeer(RadRibbonView owner)

Parameters

owner

RadRibbonView

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

cs-api-definition
public bool CanSelectMultiple { get; }

Property Value

bool

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

cs-api-definition
public bool IsSelectionRequired { get; }

Property Value

bool

true if selection is required; otherwise false.

Methods

CreateItemAutomationPeer(object)

Declaration

cs-api-definition
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)

Parameters

item

object

Returns

ItemAutomationPeer

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetClickablePointCore()

Declaration

cs-api-definition
protected override Point GetClickablePointCore()

Returns

Point

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object

GetSelection()

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

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetSelection()

Returns

IRawElementProviderSimple[]

An array of UI Automation providers.