ClassRadTaskBoardItemAutomationPeer
Represents an automation peer for a task board item within a RadTaskBoard. This class facilitates interaction with UI automation clients, allowing them to retrieve information about the task board item, such as its selection status, and to manipulate its selection behavior. It implements the ISelectionItemProvider and IScrollItemProvider interfaces, providing methods to select, add to, or remove from the selection, as well as to scroll the item into view. The class also exposes properties to indicate whether the item is selected and to retrieve the selection container.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadTaskBoardItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider
Inheritance: objectRadTaskBoardItemAutomationPeer
Implements:
Constructors
RadTaskBoardItemAutomationPeer(object, ItemsControlAutomationPeer)
Initializes a new instance of the RadTaskBoardItemAutomationPeer class.
Declaration
public RadTaskBoardItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)
Parameters
owner
peer
ItemsControlAutomationPeer
Properties
IsSelected
Gets a value that indicates whether an item is selected.
Declaration
public bool IsSelected { get; }
Property Value
true if the element is selected; otherwise false.
SelectionContainer
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
IRawElementProviderSimple
Methods
AddToSelection()
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification = "Design choice.")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetPattern(PatternInterface)
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
RemoveFromSelection()
Declaration
public void RemoveFromSelection()
ScrollIntoView()
Declaration
public void ScrollIntoView()
Select()
Declaration
public void Select()