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

An AutomationPeer type for the Tile type.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class TileAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectTileAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

Initializes a new instance of the TileAutomationPeer class.

C#
public TileAutomationPeer(Tile owner)
Parameters:ownerTile

The owner.

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.

Methods

Adds the current element to the collection of selected items.

C#
public void AddToSelection()
C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override string GetAutomationIdCore()
Returns:

string

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

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

object

Removes the current element from the collection of selected items.

C#
public void RemoveFromSelection()

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

C#
public void ScrollIntoView()

Deselects any selected items and then selects the current element.

C#
public void Select()