Class
SegmentAutomationPeer

AutomationPeer class for Segment.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class SegmentAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider

Inheritance: objectSegmentAutomationPeer

Implements: ISelectionItemProvider

Constructors

SegmentAutomationPeer(Segment)

Initializes a new instance of the SegmentAutomationPeer class.

Declaration

cs-api-definition
public SegmentAutomationPeer(Segment owner)

Parameters

owner

Segment

The Segment that is associated with this SegmentAutomationPeer.

Properties

IsSelected

Gets a value indicating whether an item is selected.

Declaration

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

Property Value

bool

SelectionContainer

Gets the provider that implements ISelectionProvider and acts as the container for the calling object.

Declaration

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

Property Value

IRawElementProviderSimple

Methods

AddToSelection()

ISelectionItemProvider implementation.

Declaration

cs-api-definition
public void AddToSelection()

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetPatternCore(PatternInterface)

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object

RemoveFromSelection()

ISelectionItemProvider implementation.

Declaration

cs-api-definition
public void RemoveFromSelection()

Select()

ISelectionItemProvider implementation.

Declaration

cs-api-definition
public void Select()