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

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:

C#
public class RadTaskBoardItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadTaskBoardItemAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

Initializes a new instance of the RadTaskBoardItemAutomationPeer class.

C#
public RadTaskBoardItemAutomationPeer(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

C#
public IRawElementProviderSimple SelectionContainer { get; }

Methods

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

AutomationControlType

C#
protected override string GetAutomationIdCore()
Returns:

string

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

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#
protected override string GetNameCore()
Returns:

string

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

object

C#
public void RemoveFromSelection()
C#
public void ScrollIntoView()
C#
public void Select()