ClassSegmentAutomationPeer
Class
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:
Constructors
SegmentAutomationPeer(Segment)
Initializes a new instance of the SegmentAutomationPeer class.
Declaration
cs-api-definition
public SegmentAutomationPeer(Segment owner)
Parameters
owner
The Segment that is associated with this SegmentAutomationPeer.
Properties
IsSelected
Gets a value indicating whether an item is selected.
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
GetLocalizedControlTypeCore()
Declaration
cs-api-definition
protected override string GetLocalizedControlTypeCore()
Returns
GetPatternCore(PatternInterface)
Declaration
cs-api-definition
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
RemoveFromSelection()
ISelectionItemProvider implementation.
Declaration
cs-api-definition
public void RemoveFromSelection()