ClassRadTaskBoardAutomationPeer
Represents the automation peer for the RadTaskBoard control, providing UI Automation support for selecting items in a task board interface. This class implements the ISelectionProvider interface, enabling multiple selection functionality and managing selected item retrieval within the task board. The RadTaskBoardAutomationPeer facilitates interaction with UI Automation clients by exposing properties and methods that follow the UI Automation pattern. It provides a way to retrieve the selected items, indicates selection capabilities, and defines the automation control type and name for accessibility tools.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadTaskBoardAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider
Inheritance: objectRadTaskBoardAutomationPeer
Implements:
Constructors
RadTaskBoardAutomationPeer(RadTaskBoard)
Initializes a new instance of the RadTaskBoardAutomationPeer class.
Declaration
public RadTaskBoardAutomationPeer(RadTaskBoard owner)
Parameters
owner
Properties
CanSelectMultiple
Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
Declaration
public bool CanSelectMultiple { get; }
Property Value
true if multiple selection is allowed; otherwise false.
IsSelectionRequired
Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.
Declaration
public bool IsSelectionRequired { get; }
Property Value
true if selection is required; otherwise false.
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetNameCore()
When overridden in a derived class, is called by .
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
GetSelection()
Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.