Class
RadTileViewAutomationPeer

Provides the automation peer for the RadTileView control, enabling UI Automation functionalities for interacting with the control's items and selection. This class derives from ItemsControlAutomationPeer and implements the ISelectionProvider interface, allowing it to provide selection capabilities for items contained within the RadTileView. It manages individual automation peers for each tile view item and facilitates retrieving selected items, as well as properties related to the tile view such as selection modes and virtualization settings.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

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

Inheritance: objectRadTileViewAutomationPeer

Implements: ISelectionProvider

Constructors

RadTileViewAutomationPeer(RadTileView)

Initializes a new instance of the RadTileViewAutomationPeer class.

Declaration

cs-api-definition
public RadTileViewAutomationPeer(RadTileView owner)

Parameters

owner

RadTileView

The owner.

Properties

CanSelectMultiple

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

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)

When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the collection of this .

Declaration

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

Parameters

item

object

The data item that is associated with this ItemAutomationPeer.

Returns

ItemAutomationPeer

The new ItemAutomationPeer created.

GetClassNameCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The class name.

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

The name.

GetSelection()

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

Declaration

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

Returns

IRawElementProviderSimple[]

A collection of UI Automation providers.