Class
RadTileViewItemAutomationPeer

Provides a UI automation peer for the RadTileViewItem class, enabling interaction with automation clients by providing properties, control patterns, and methods that are relevant to item selection and toggle states within a tile view control. This class inherits from ItemAutomationPeer and implements the ISelectionItemProvider and IToggleProvider interfaces.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadTileViewItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IToggleProvider

Inheritance: objectRadTileViewItemAutomationPeer

Implements: ISelectionItemProviderIToggleProvider

Constructors

RadTileViewItemAutomationPeer(object, ItemsControlAutomationPeer)

Initializes a new instance of the RadTileViewItemAutomationPeer class.

Declaration

cs-api-definition
public RadTileViewItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)

Parameters

owner

object

peer

ItemsControlAutomationPeer

Properties

IsSelected

Gets a value that indicates whether an item is selected.

Declaration

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

Property Value

bool

true if the element is selected; otherwise false.

SelectionContainer

Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.

Declaration

cs-api-definition
public IRawElementProviderSimple SelectionContainer { get; }

Property Value

IRawElementProviderSimple

The provider that supports ISelectionProvider.

ToggleState

Gets the toggle state of the control.

Declaration

cs-api-definition
public ToggleState ToggleState { get; }

Property Value

ToggleState

The ToggleState of the control.

Methods

AddToSelection()

Adds the current element to the collection of selected items.

Declaration

cs-api-definition
public void AddToSelection()

GetAutomationControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The control type.

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.

GetPattern(PatternInterface)

Returns the object that supports the specified control pattern of the element that is associated with this automation peer.

Declaration

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

Parameters

patternInterface

PatternInterface

An enumeration value that specifies the control pattern.

Returns

object

An object that supports the control pattern if patternInterface is a supported value; otherwise, null.

RemoveFromSelection()

Removes the current element from the collection of selected items.

Declaration

cs-api-definition
public void RemoveFromSelection()

Select()

Deselects any selected items and then selects the current element.

Declaration

cs-api-definition
public void Select()

Toggle()

Cycles through the toggle states of a control.

Declaration

cs-api-definition
public void Toggle()