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

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:

C#
public class RadTileViewItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IToggleProvider

Inheritance: objectRadTileViewItemAutomationPeer

Implements: ISelectionItemProviderIToggleProvider

Constructors

Initializes a new instance of the RadTileViewItemAutomationPeer class.

C#
public RadTileViewItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)
Parameters:ownerobjectpeerItemsControlAutomationPeer

Properties

Gets a value that indicates whether an item is selected.

C#
public bool IsSelected { get; }
Property Value:

true if the element is selected; otherwise false.

SelectionContainer

IRawElementProviderSimple

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

C#
public IRawElementProviderSimple SelectionContainer { get; }
Property Value:

The provider that supports ISelectionProvider.

ToggleState

ToggleState

Gets the toggle state of the control.

C#
public ToggleState ToggleState { get; }
Property Value:

The ToggleState of the control.

Methods

Adds the current element to the collection of selected items.

C#
public void AddToSelection()

When overridden in a derived class, is called by .

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The control type.

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.

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

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

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.

Removes the current element from the collection of selected items.

C#
public void RemoveFromSelection()

Deselects any selected items and then selects the current element.

C#
public void Select()

Cycles through the toggle states of a control.

C#
public void Toggle()