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

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:

C#
public class RadTileViewAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider

Inheritance: objectRadTileViewAutomationPeer

Implements: ISelectionProvider

Constructors

Initializes a new instance of the RadTileViewAutomationPeer class.

C#
public RadTileViewAutomationPeer(RadTileView owner)
Parameters:ownerRadTileView

The owner.

Properties

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.

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

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

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

The data item that is associated with this ItemAutomationPeer.

Returns:

ItemAutomationPeer

The new ItemAutomationPeer created.

When overridden in a derived class, is called by .

C#
protected override string GetClassNameCore()
Returns:

string

The class name.

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetNameCore()
Returns:

string

The name.

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

C#
public IRawElementProviderSimple[] GetSelection()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.