Class
RadSegmentedControlAutomationPeer

AutomationPeer class for RadSegmentedControl.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadSegmentedControlAutomationPeer : RadControlAutomationPeer, ISelectionProvider

Inheritance: objectRadControlAutomationPeerRadSegmentedControlAutomationPeer

Implements: ISelectionProvider

Inherited Members RadControlAutomationPeer.GetClassNameCore()

Constructors

RadSegmentedControlAutomationPeer(RadSegmentedControl)

Initializes a new instance of the RadSegmentedControlAutomationPeer class.

Declaration

cs-api-definition
public RadSegmentedControlAutomationPeer(RadSegmentedControl owner)

Parameters

owner

RadSegmentedControl

The RadSegmentedControl that is associated with this RadSegmentedControlAutomationPeer.

Properties

CanSelectMultiple

Gets a value indicating whether that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Declaration

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

Property Value

bool

IsSelectionRequired

Gets a value indicating whether that specifies whether the UI Automation provider requires at least one child element to be selected.

Declaration

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

Property Value

bool

Methods

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

Overrides RadControlAutomationPeer.GetAutomationControlTypeCore()

GetChildrenCore()

Declaration

cs-api-definition
protected override IList<AutomationPeer> GetChildrenCore()

Returns

IList<AutomationPeer>

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

Overrides RadControlAutomationPeer.GetLocalizedControlTypeCore()

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

Overrides RadControlAutomationPeer.GetNameCore()

GetPatternCore(PatternInterface)

Declaration

cs-api-definition
protected override object GetPatternCore(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object

GetSelection()

Retrieves a UI Automation provider for each child element that is selected.

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetSelection()

Returns

IRawElementProviderSimple[]