Skip to main content

CalendarAutomationPeer Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public class CalendarAutomationPeer

Inheritance: object -> AutomationPeer -> ControlAutomationPeer -> CalendarAutomationPeer

Constructors

NameDescription
CalendarAutomationPeerNo summary available.

CalendarAutomationPeer Constructor

public CalendarAutomationPeer(Avalonia.Controls.Calendar owner)

Parameters

owner Avalonia.Controls.Calendar

Methods

NameDescription
GetSelectionNo summary available.
SetValueNo summary available.
CreatePeerForElementGets the Avalonia.Automation.Peers.AutomationPeer for a Avalonia.Controls.Control, creating it if necessary. Inherited from ControlAutomationPeer.
FromElementGets an existing Avalonia.Automation.Peers.AutomationPeer for a Avalonia.Controls.Control. Inherited from ControlAutomationPeer.
GetOrCreateInherited from ControlAutomationPeer.
BringIntoViewAttempts to bring the element associated with the automation peer into view. Inherited from AutomationPeer.
GetAcceleratorKeyGets the accelerator key combinations for the element that is associated with the UI Automation peer. Inherited from AutomationPeer.
GetAccessKeyGets the access key for the element that is associated with the automation peer. Inherited from AutomationPeer.
GetAutomationControlTypeGets the control type for the element that is associated with the UI Automation peer. Inherited from AutomationPeer.
GetAutomationIdGets the automation ID of the element that is associated with the UI Automation peer. Inherited from AutomationPeer.
GetBoundingRectangleGets the bounding rectangle of the element that is associated with the automation peer in top-level coordinates. Inherited from AutomationPeer.
GetChildrenGets the child automation peers. Inherited from AutomationPeer.
GetClassNameGets a string that describes the class of the element. Inherited from AutomationPeer.
GetHeadingLevelGets the heading level that is associated with this automation peer. Inherited from AutomationPeer.
GetHelpTextGets text that provides help for the element that is associated with this automation peer. Inherited from AutomationPeer.
GetItemStatusGets the item status that is associated with this automation peer. Inherited from AutomationPeer.
GetItemTypeGets the item type that is associated with this automation peer. Inherited from AutomationPeer.
GetLabeledByGets the automation peer for the label that is targeted to the element. Inherited from AutomationPeer.
GetLandmarkTypeGets the control type for the element that is associated with the UI Automation peer. Inherited from AutomationPeer.
GetLiveSettingGets the current live setting that is associated with this this automation peer. Inherited from AutomationPeer.
GetLocalizedControlTypeGets a human-readable localized string that represents the type of the control that is associated with this automation peer. Inherited from AutomationPeer.
GetNameGets text that describes the element that is associated with this automation peer. Inherited from AutomationPeer.
GetParentGets the Avalonia.Automation.Peers.AutomationPeer that is the parent of this Avalonia.Automation.Peers.AutomationPeer. Inherited from AutomationPeer.
GetPlaceholderTextGets text that provides a placeholder for the element that is associated with this automation peer. Inherited from AutomationPeer.
GetProviderInherited from AutomationPeer.
HasKeyboardFocusGets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus. Inherited from AutomationPeer.
IsContentElementGets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user. Inherited from AutomationPeer.
IsControlElementGets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI. Inherited from AutomationPeer.
IsEnabledGets a value indicating whether the control is enabled for user interaction. Inherited from AutomationPeer.
IsKeyboardFocusableGets a value that indicates whether the element can accept keyboard focus. Inherited from AutomationPeer.
IsOffscreenGets a value that indicates whether an element is off the screen. Inherited from AutomationPeer.
RaisePropertyChangedEventRaises an event to notify the automation client of a changed property value. Inherited from AutomationPeer.
SetFocusSets the keyboard focus on the element that is associated with this automation peer. Inherited from AutomationPeer.
ShowContextMenuShows the context menu for the element that is associated with this automation peer. Inherited from AutomationPeer.

GetSelection Method

public System.Collections.Generic.IReadOnlyList<Avalonia.Automation.Peers.AutomationPeer> GetSelection()

Returns

System.Collections.Generic.IReadOnlyList<Avalonia.Automation.Peers.AutomationPeer>

SetValue Method

public void SetValue(string value)

Parameters

value string

Properties

NameDescription
CanSelectMultipleNo summary available.
IsReadOnlyNo summary available.
IsSelectionRequiredNo summary available.
OwnerNo summary available.
ValueNo summary available.

CanSelectMultiple Property

public bool CanSelectMultiple { get; set; }

IsReadOnly Property

public bool IsReadOnly { get; set; }

IsSelectionRequired Property

public bool IsSelectionRequired { get; set; }

Owner Property

public Avalonia.Controls.Calendar Owner { get; set; }

Value Property

public string Value { get; set; }

Events

NameDescription
ChildrenChangedOccurs when the children of the automation peer have changed. Inherited from AutomationPeer.
PropertyChangedOccurs when a property value of the automation peer has changed. Inherited from AutomationPeer.