PipsPagerAutomationPeer Class
Definition
An automation peer for Avalonia.Controls.PipsPager.
public class PipsPagerAutomationPeer
Constructors
| Name | Description |
|---|---|
| PipsPagerAutomationPeer | Initializes a new instance of the Avalonia.Automation.Peers.PipsPagerAutomationPeer class. |
PipsPagerAutomationPeer Constructor
Initializes a new instance of the Avalonia.Automation.Peers.PipsPagerAutomationPeer class.
public PipsPagerAutomationPeer(Avalonia.Controls.PipsPager owner)
Parameters
owner Avalonia.Controls.PipsPager
The control associated with this peer.
Methods
| Name | Description |
|---|---|
| GetSelection | Retrieves a provider for each child element that is selected. |
| CreatePeerForElement | Gets the Avalonia.Automation.Peers.AutomationPeer for a Avalonia.Controls.Control, creating it if necessary. Inherited from ControlAutomationPeer. |
| FromElement | Gets an existing Avalonia.Automation.Peers.AutomationPeer for a Avalonia.Controls.Control. Inherited from ControlAutomationPeer. |
| GetOrCreate | Inherited from ControlAutomationPeer. |
| BringIntoView | Attempts to bring the element associated with the automation peer into view. Inherited from AutomationPeer. |
| GetAcceleratorKey | Gets the accelerator key combinations for the element that is associated with the UI Automation peer. Inherited from AutomationPeer. |
| GetAccessKey | Gets the access key for the element that is associated with the automation peer. Inherited from AutomationPeer. |
| GetAutomationControlType | Gets the control type for the element that is associated with the UI Automation peer. Inherited from AutomationPeer. |
| GetAutomationId | Gets the automation ID of the element that is associated with the UI Automation peer. Inherited from AutomationPeer. |
| GetBoundingRectangle | Gets the bounding rectangle of the element that is associated with the automation peer in top-level coordinates. Inherited from AutomationPeer. |
| GetChildren | Gets the child automation peers. Inherited from AutomationPeer. |
| GetClassName | Gets a string that describes the class of the element. Inherited from AutomationPeer. |
| GetHeadingLevel | Gets the heading level that is associated with this automation peer. Inherited from AutomationPeer. |
| GetHelpText | Gets text that provides help for the element that is associated with this automation peer. Inherited from AutomationPeer. |
| GetItemStatus | Gets the item status that is associated with this automation peer. Inherited from AutomationPeer. |
| GetItemType | Gets the item type that is associated with this automation peer. Inherited from AutomationPeer. |
| GetLabeledBy | Gets the automation peer for the label that is targeted to the element. Inherited from AutomationPeer. |
| GetLandmarkType | Gets the control type for the element that is associated with the UI Automation peer. Inherited from AutomationPeer. |
| GetLiveSetting | Gets the current live setting that is associated with this this automation peer. Inherited from AutomationPeer. |
| GetLocalizedControlType | Gets a human-readable localized string that represents the type of the control that is associated with this automation peer. Inherited from AutomationPeer. |
| GetName | Gets text that describes the element that is associated with this automation peer. Inherited from AutomationPeer. |
| GetParent | Gets the Avalonia.Automation.Peers.AutomationPeer that is the parent of this Avalonia.Automation.Peers.AutomationPeer. Inherited from AutomationPeer. |
| GetPlaceholderText | Gets text that provides a placeholder for the element that is associated with this automation peer. Inherited from AutomationPeer. |
| GetProvider | Inherited from AutomationPeer. |
| HasKeyboardFocus | Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus. Inherited from AutomationPeer. |
| IsContentElement | Gets 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. |
| IsControlElement | Gets 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. |
| IsEnabled | Gets a value indicating whether the control is enabled for user interaction. Inherited from AutomationPeer. |
| IsKeyboardFocusable | Gets a value that indicates whether the element can accept keyboard focus. Inherited from AutomationPeer. |
| IsOffscreen | Gets a value that indicates whether an element is off the screen. Inherited from AutomationPeer. |
| RaisePropertyChangedEvent | Raises an event to notify the automation client of a changed property value. Inherited from AutomationPeer. |
| SetFocus | Sets the keyboard focus on the element that is associated with this automation peer. Inherited from AutomationPeer. |
| ShowContextMenu | Shows the context menu for the element that is associated with this automation peer. Inherited from AutomationPeer. |
GetSelection Method
Retrieves a provider for each child element that is selected.
public System.Collections.Generic.IReadOnlyList<Avalonia.Automation.Peers.AutomationPeer> GetSelection()
Returns
System.Collections.Generic.IReadOnlyList<Avalonia.Automation.Peers.AutomationPeer>
Remarks
- Windows
ISelectionProvider.GetSelection - macOS
NSAccessibilityProtocol.accessibilitySelectedChildren(not implemented).
Properties
| Name | Description |
|---|---|
| CanSelectMultiple | Gets a value that indicates whether the provider allows more than one child element to be selected concurrently. |
| IsSelectionRequired | Gets a value that indicates whether the provider requires at least one child element to be selected. |
| Owner | Inherited from ControlAutomationPeer. |
CanSelectMultiple Property
Gets a value that indicates whether the provider allows more than one child element to be selected concurrently.
public bool CanSelectMultiple { get; set; }
Remarks
- Windows
ISelectionProvider.CanSelectMultiple - macOSNo mapping.
IsSelectionRequired Property
Gets a value that indicates whether the provider requires at least one child element to be selected.
public bool IsSelectionRequired { get; set; }
Remarks
- Windows
ISelectionProvider.IsSelectionRequired - macOSNo mapping.
Events
| Name | Description |
|---|---|
| ChildrenChanged | Occurs when the children of the automation peer have changed. Inherited from AutomationPeer. |
| PropertyChanged | Occurs when a property value of the automation peer has changed. Inherited from AutomationPeer. |