Class
AppointmentItemAutomationPeer

Represents the Automation Peer for the current Appointment item.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class AppointmentItemAutomationPeer : AutomationPeerBase<AppointmentItem>, IScrollItemProvider, ISelectionItemProvider, IInvokeProvider

Inheritance: objectAutomationPeerBase<AppointmentItem>AppointmentItemAutomationPeer

Implements: IInvokeProviderIScrollItemProviderISelectionItemProvider

Inherited Members AutomationPeerBase<AppointmentItem>.GetClassNameCore()AutomationPeerBase<AppointmentItem>.IsEnabledCore()AutomationPeerBase<AppointmentItem>.IsKeyboardFocusableCore()AutomationPeerBase<AppointmentItem>.GetItemTypeCore()AutomationPeerBase<AppointmentItem>.GenerateIRawElementProviderSimple<TSource>(IEnumerable<TSource>)AutomationPeerBase<AppointmentItem>.ProviderFromElement<TSource>(TSource)AutomationPeerBase<AppointmentItem>.CurrentOwner

Constructors

AppointmentItemAutomationPeer(AppointmentItem)

Initializes a new instance of the AppointmentItemAutomationPeer class.

Declaration

cs-api-definition
public AppointmentItemAutomationPeer(AppointmentItem owner)

Parameters

owner

AppointmentItem

Properties

IsSelected

Gets the IsSelected property of the Appointment Item.

Declaration

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

Property Value

bool

SelectionContainer

Gets the selection container provider.

Declaration

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

Property Value

IRawElementProviderSimple

Methods

AddToSelection()

Adds the current element to the collection of selected items.

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

string

GetPatternCore(PatternInterface)

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object

Invoke()

Sends a request to activate a control and initiate its single, unambiguous action.

Declaration

cs-api-definition
public void Invoke()

RemoveFromSelection()

Removes the current element from the collection of selected items.

Declaration

cs-api-definition
public void RemoveFromSelection()

ScrollIntoView()

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

Declaration

cs-api-definition
public void ScrollIntoView()

Select()

Deselects any selected items and then selects the current element.

Declaration

cs-api-definition
public void Select()