New to Telerik UI for WPFStart a free 30-day trial

Represents the Automation Peer for the current Appointment item.

Definition

Constructors

Initializes a new instance of the AppointmentItemAutomationPeer class.

C#
public AppointmentItemAutomationPeer(AppointmentItem owner)
Parameters:ownerAppointmentItem

Properties

Gets the IsSelected property of the Appointment Item.

C#
public bool IsSelected { get; }

SelectionContainer

IRawElementProviderSimple

Gets the selection container provider.

C#
public IRawElementProviderSimple SelectionContainer { get; }

Methods

Adds the current element to the collection of selected items.

C#
public void AddToSelection()

Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType().

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

A value from the enumeration.

Returns:

object

An object that implements the System.Windows.Automation.Provider.ISynchronizedInputProvider interface if patternInterface is System.Windows.Automation.Peers.PatternInterface.SynchronizedInput; otherwise, null.

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

C#
public void Invoke()

Removes the current element from the collection of selected items.

C#
public void RemoveFromSelection()

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

C#
public void ScrollIntoView()

Deselects any selected items and then selects the current element.

C#
public void Select()