Class
RadTaskBoardItemAutomationPeer

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:

cs-api-definition
public class RadTaskBoardItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadTaskBoardItemAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

RadTaskBoardItemAutomationPeer(object, ItemsControlAutomationPeer)

Initializes a new instance of the RadTaskBoardItemAutomationPeer class.

Declaration

cs-api-definition
public RadTaskBoardItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)

Parameters

owner

object

peer

ItemsControlAutomationPeer

Properties

IsSelected

Gets a value that indicates whether an item is selected.

Declaration

cs-api-definition
public bool IsSelected { get; }

Property Value

bool

true if the element is selected; otherwise false.

SelectionContainer

Declaration

cs-api-definition
public IRawElementProviderSimple SelectionContainer { get; }

Property Value

IRawElementProviderSimple

Methods

AddToSelection()

Declaration

cs-api-definition
public void AddToSelection()

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetAutomationIdCore()

Declaration

cs-api-definition
protected override string GetAutomationIdCore()

Returns

string

GetChildrenCore()

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification = "Design choice.")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object

RemoveFromSelection()

Declaration

cs-api-definition
public void RemoveFromSelection()

ScrollIntoView()

Declaration

cs-api-definition
public void ScrollIntoView()

Select()

Declaration

cs-api-definition
public void Select()