Skip to main content

ScrollViewerAutomationPeer Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public class ScrollViewerAutomationPeer

Inheritance: object -> AutomationPeer -> ControlAutomationPeer -> ScrollViewerAutomationPeer

Implements:IScrollProvider

Constructors

NameDescription
ScrollViewerAutomationPeerNo summary available.

ScrollViewerAutomationPeer Constructor

public ScrollViewerAutomationPeer(Avalonia.Controls.ScrollViewer owner)

Parameters

owner Avalonia.Controls.ScrollViewer

Methods

NameDescription
ScrollNo summary available.
SetScrollPercentNo 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.

Scroll Method

public void Scroll(Avalonia.Automation.Provider.ScrollAmount horizontalAmount, Avalonia.Automation.Provider.ScrollAmount verticalAmount)

Parameters

horizontalAmount Avalonia.Automation.Provider.ScrollAmount

verticalAmount Avalonia.Automation.Provider.ScrollAmount

SetScrollPercent Method

public void SetScrollPercent(double horizontalPercent, double verticalPercent)

Parameters

horizontalPercent double

verticalPercent double

Properties

NameDescription
HorizontalScrollPercentNo summary available.
HorizontalViewSizeNo summary available.
HorizontallyScrollableNo summary available.
OwnerNo summary available.
VerticalScrollPercentNo summary available.
VerticalViewSizeNo summary available.
VerticallyScrollableNo summary available.

HorizontalScrollPercent Property

public double HorizontalScrollPercent { get; set; }

HorizontalViewSize Property

public double HorizontalViewSize { get; set; }

HorizontallyScrollable Property

public bool HorizontallyScrollable { get; set; }

Owner Property

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

VerticalScrollPercent Property

public double VerticalScrollPercent { get; set; }

VerticalViewSize Property

public double VerticalViewSize { get; set; }

VerticallyScrollable Property

public bool VerticallyScrollable { 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.