Class
RibbonViewAutomationPeer

Automation peer for the RadRibbonView class.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.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 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

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

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

Declaration

cs-api-definition
protected override IList<AutomationPeer> GetChildrenCore()

Returns

IList<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

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPatternCore(PatternInterface)

Declaration

cs-api-definition
protected override object GetPatternCore(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.

OnCreateItemAutomationPeer(object)

Declaration

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

Parameters

item

object

Returns

ItemAutomationPeer