Class RadTileViewItemAutomationPeer
UI AutomationPeer class for RadTileViewItem.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class RadTileViewItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IToggleProvider
Constructors
RadTileViewItemAutomationPeer(Object, ItemsControlAutomationPeer)
Initializes a new instance of the RadTileViewItemAutomationPeer class.
Declaration
public RadTileViewItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)
Parameters
System.Object
owner
|
System.Windows.Automation.Peers.ItemsControlAutomationPeer
peer
|
Properties
IsSelected
Gets a value that indicates whether an item is selected.
Declaration
public bool IsSelected { get; }
Property Value
System.Boolean
true if the element is selected; otherwise false. |
SelectionContainer
Gets the UI Automation provider that implements System.Windows.Automation.Provider.ISelectionProvider and acts as the container for the calling object.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
System.Windows.Automation.Provider.IRawElementProviderSimple
The provider that supports System.Windows.Automation.Provider.ISelectionProvider. |
ToggleState
Gets the toggle state of the control.
Declaration
public ToggleState ToggleState { get; }
Property Value
System.Windows.Automation.ToggleState
The System.Windows.Automation.ToggleState of the control. |
Methods
AddToSelection()
Adds the current element to the collection of selected items.
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The control type. |
GetClassNameCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
System.String
The class name. |
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.String
|
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String
|
GetNameCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetName.
Declaration
protected override string GetNameCore()
Returns
System.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
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
An enumeration value that specifies the control pattern. |
Returns
System.Object
An object that supports the control pattern if |
RemoveFromSelection()
Removes the current element from the collection of selected items.
Declaration
public void RemoveFromSelection()
Select()
Deselects any selected items and then selects the current element.
Declaration
public void Select()
Toggle()
Cycles through the toggle states of a control.
Declaration
public void Toggle()