ClassRadTileViewAutomationPeer
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:
public class RadTileViewAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider
Inheritance: objectRadTileViewAutomationPeer
Implements:
Constructors
RadTileViewAutomationPeer(RadTileView)
Initializes a new instance of the RadTileViewAutomationPeer class.
Declaration
public RadTileViewAutomationPeer(RadTileView owner)
Parameters
owner
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
public bool CanSelectMultiple { get; }
Property Value
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
public bool IsSelectionRequired { get; }
Property Value
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
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
item
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
protected override string GetClassNameCore()
Returns
The class name.
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetNameCore()
When overridden in a derived class, is called by .
GetSelection()
Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.