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:
public class RadTileViewItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IToggleProvider
Inheritance: objectRadTileViewItemAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadTileViewItemAutomationPeer class.
public RadTileViewItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)
Properties
Gets a value that indicates whether an item is selected.
public bool IsSelected { get; }
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.
public IRawElementProviderSimple SelectionContainer { get; }
The provider that supports ISelectionProvider.
ToggleState
ToggleState
Gets the toggle state of the control.
public ToggleState ToggleState { get; }
The ToggleState of the control.
Methods
Adds the current element to the collection of selected items.
public void AddToSelection()
When overridden in a derived class, is called by .
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The control type.
When overridden in a derived class, is called by .
When overridden in a derived class, is called by .
Returns the object that supports the specified control pattern of the element that is associated with this automation peer.
public override object GetPattern(PatternInterface patternInterface)
An enumeration value that specifies the control pattern.
Returns: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.
public void RemoveFromSelection()
Deselects any selected items and then selects the current element.
public void Select()
Cycles through the toggle states of a control.
public void Toggle()