AccessibilityServer
A server interface for screen reader support.
A server interface for screen reader support.
AccessibilityServer handles screen reader support.
Note: AccessibilityServer is implemented on Android, Linux, macOS, and Windows.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Properties1
SingletonProperty
public static AccessibilityServerInstance Singleton { get; }Methods75
CreateElementRid
public static Rid CreateElement(int windowId, AccessibilityServer.AccessibilityRole role);Creates a new, empty accessibility element resource.
Note: An accessibility element is created and freed automatically for each Entity. In general, this function should not be called manually.
| Name | Type | Default |
|---|---|---|
windowId | int | — |
role | AccessibilityServer.AccessibilityRole | — |
RidCreateSubElementRid
public static Rid CreateSubElement(Rid parentRid, AccessibilityServer.AccessibilityRole role, int insertPos = -1);Creates a new, empty accessibility sub-element resource. Sub-elements can be used to provide accessibility information for objects which are not Entitys, such as list items, table cells, or menu items. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the AccessibilityServer.FreeElement method.
| Name | Type | Default |
|---|---|---|
parentRid | Rid | — |
role | AccessibilityServer.AccessibilityRole | — |
insertPos | int | -1 |
RidCreateSubTextEditElementsRid
public static Rid CreateSubTextEditElements(Rid parentRid, Rid shapedText, float minHeight, int insertPos = -1, bool isLastLine = false);Creates a new, empty accessibility sub-element from the shaped text buffer. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the AccessibilityServer.FreeElement method.
If is_last_line is true, no trailing newline is appended to the text content. Set to true for the last line in multi-line text fields and for single-line text fields.
| Name | Type | Default |
|---|---|---|
parentRid | Rid | — |
shapedText | Rid | — |
minHeight | float | — |
insertPos | int | -1 |
isLastLine | bool | false |
RidElementGetMetaVariant
public static Variant ElementGetMeta(Rid id);Returns the metadata of the accessibility element id.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
VariantElementSetMetavoid
public static void ElementSetMeta(Rid id, Variant meta);Sets the metadata of the accessibility element id to meta.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
meta | Variant | — |
FreeElementvoid
public static void FreeElement(Rid id);Frees the accessibility element id created by AccessibilityServer.CreateElement, AccessibilityServer.CreateSubElement, or AccessibilityServer.CreateSubTextEditElements.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
GetWindowRootRid
public static Rid GetWindowRoot(int windowId);Returns the main accessibility element of the OS native window.
| Name | Type | Default |
|---|---|---|
windowId | int | — |
RidHasElementbool
public static bool HasElement(Rid id);Returns true if id is a valid accessibility element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
boolIsSupportedbool
public static bool IsSupported();Returns true if screen reader is support by this implementation.
boolSetWindowFocusedvoid
public static void SetWindowFocused(int windowId, bool focused);Sets the window focused state for assistive apps.
Note: This method is implemented on Linux, macOS, and Windows.
Note: Advanced users only! Window objects call this method automatically.
| Name | Type | Default |
|---|---|---|
windowId | int | — |
focused | bool | — |
SetWindowRectvoid
public static void SetWindowRect(int windowId, Rect2 rectOut, Rect2 rectIn);Sets window outer (with decorations) and inner (without decorations) bounds for assistive apps.
Note: This method is implemented on Linux, macOS, and Windows.
Note: Advanced users only! Window objects call this method automatically.
| Name | Type | Default |
|---|---|---|
windowId | int | — |
rectOut | Rect2 | — |
rectIn | Rect2 | — |
UpdateAddActionvoid
public static void UpdateAddAction(Rid id, AccessibilityServer.AccessibilityAction action, Callable callable);Adds a callback for the accessibility action (action which can be performed by using a special screen reader command or buttons on the Braille display), and marks this action as supported. The action callback receives one Variant argument, which value depends on action type.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
action | AccessibilityServer.AccessibilityAction | — |
callable | Callable | — |
UpdateAddChildvoid
public static void UpdateAddChild(Rid id, Rid childId);Adds a child accessibility element.
Note: Entity children and sub-elements are added to the child list automatically.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
childId | Rid | — |
UpdateAddCustomActionvoid
public static void UpdateAddCustomAction(Rid id, int actionId, string actionDescription);Adds support for a custom accessibility action. action_id is passed as an argument to the callback of AccessibilityServer.AccessibilityAction.Custom action.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
actionId | int | — |
actionDescription | string | — |
UpdateAddRelatedControlsvoid
public static void UpdateAddRelatedControls(Rid id, Rid relatedId);Adds an element that is controlled by this element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
relatedId | Rid | — |
UpdateAddRelatedDescribedByvoid
public static void UpdateAddRelatedDescribedBy(Rid id, Rid relatedId);Adds an element that describes this element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
relatedId | Rid | — |
UpdateAddRelatedDetailsvoid
public static void UpdateAddRelatedDetails(Rid id, Rid relatedId);Adds an element that details this element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
relatedId | Rid | — |
UpdateAddRelatedFlowTovoid
public static void UpdateAddRelatedFlowTo(Rid id, Rid relatedId);Adds an element that this element flow into.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
relatedId | Rid | — |
UpdateAddRelatedLabeledByvoid
public static void UpdateAddRelatedLabeledBy(Rid id, Rid relatedId);Adds an element that labels this element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
relatedId | Rid | — |
UpdateAddRelatedRadioGroupvoid
public static void UpdateAddRelatedRadioGroup(Rid id, Rid relatedId);Adds an element that is part of the same radio group.
Note: This method should be called on each element of the group, using all other elements as related_id.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
relatedId | Rid | — |
UpdateSetActiveDescendantvoid
public static void UpdateSetActiveDescendant(Rid id, Rid otherId);Adds an element that is an active descendant of this element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
otherId | Rid | — |
UpdateSetBackgroundColorvoid
public static void UpdateSetBackgroundColor(Rid id, Color color);Sets element background color.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
color | Color | — |
UpdateSetBoundsvoid
public static void UpdateSetBounds(Rid id, Rect2 rect);Sets element bounding box, relative to the node position.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
rect | Rect2 | — |
UpdateSetBrailleLabelvoid
public static void UpdateSetBrailleLabel(Rid id, string name);Sets element accessibility label for Braille display.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
name | string | — |
UpdateSetBrailleRoleDescriptionvoid
public static void UpdateSetBrailleRoleDescription(Rid id, string description);Sets element accessibility role description for Braille display.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
description | string | — |
UpdateSetCheckedvoid
public static void UpdateSetChecked(Rid id, bool checekd);Sets element checked state.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
checekd | bool | — |
UpdateSetClassnamevoid
public static void UpdateSetClassname(Rid id, string classname);Sets element class name.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
classname | string | — |
UpdateSetColorValuevoid
public static void UpdateSetColorValue(Rid id, Color color);Sets element color value.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
color | Color | — |
UpdateSetDescriptionvoid
public static void UpdateSetDescription(Rid id, string description);Sets element accessibility description.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
description | string | — |
UpdateSetErrorMessagevoid
public static void UpdateSetErrorMessage(Rid id, Rid otherId);Sets an element which contains an error message for this element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
otherId | Rid | — |
UpdateSetExtraInfovoid
public static void UpdateSetExtraInfo(Rid id, string name);Sets element accessibility extra information added to the element name.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
name | string | — |
UpdateSetFlagvoid
public static void UpdateSetFlag(Rid id, AccessibilityServer.AccessibilityFlags flag, bool value);Sets element flag.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
flag | AccessibilityServer.AccessibilityFlags | — |
value | bool | — |
UpdateSetFocusvoid
public static void UpdateSetFocus(Rid id);Sets currently focused element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
UpdateSetForegroundColorvoid
public static void UpdateSetForegroundColor(Rid id, Color color);Sets element foreground color.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
color | Color | — |
UpdateSetInPageLinkTargetvoid
public static void UpdateSetInPageLinkTarget(Rid id, Rid otherId);Sets target element for the link.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
otherId | Rid | — |
UpdateSetLanguagevoid
public static void UpdateSetLanguage(Rid id, string language);Sets element text language.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
language | string | — |
UpdateSetListItemCountvoid
public static void UpdateSetListItemCount(Rid id, int size);Sets number of items in the list.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
size | int | — |
UpdateSetListItemExpandedvoid
public static void UpdateSetListItemExpanded(Rid id, bool expanded);Sets list/tree item expanded status.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
expanded | bool | — |
UpdateSetListItemIndexvoid
public static void UpdateSetListItemIndex(Rid id, int index);Sets the position of the element in the list.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
index | int | — |
UpdateSetListItemLevelvoid
public static void UpdateSetListItemLevel(Rid id, int level);Sets the hierarchical level of the element in the list.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
level | int | — |
UpdateSetListItemSelectedvoid
public static void UpdateSetListItemSelected(Rid id, bool selected);Sets list/tree item selected status.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
selected | bool | — |
UpdateSetListOrientationvoid
public static void UpdateSetListOrientation(Rid id, bool vertical);Sets the orientation of the list elements.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
vertical | bool | — |
UpdateSetLivevoid
public static void UpdateSetLive(Rid id, AccessibilityServer.AccessibilityLiveMode live);Sets the priority of the live region updates.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
live | AccessibilityServer.AccessibilityLiveMode | — |
UpdateSetMemberOfvoid
public static void UpdateSetMemberOf(Rid id, Rid groupId);Sets the element to be a member of the group.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
groupId | Rid | — |
UpdateSetNamevoid
public static void UpdateSetName(Rid id, string name);Sets element accessibility name.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
name | string | — |
UpdateSetNextOnLinevoid
public static void UpdateSetNextOnLine(Rid id, Rid otherId);Sets next element on the line.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
otherId | Rid | — |
UpdateSetNumJumpvoid
public static void UpdateSetNumJump(Rid id, double jump);Sets numeric value jump.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
jump | double | — |
UpdateSetNumRangevoid
public static void UpdateSetNumRange(Rid id, double min, double max);Sets numeric value range.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
min | double | — |
max | double | — |
UpdateSetNumStepvoid
public static void UpdateSetNumStep(Rid id, double step);Sets numeric value step.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
step | double | — |
UpdateSetNumValuevoid
public static void UpdateSetNumValue(Rid id, double position);Sets numeric value.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
position | double | — |
UpdateSetPlaceholdervoid
public static void UpdateSetPlaceholder(Rid id, string placeholder);Sets placeholder text.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
placeholder | string | — |
UpdateSetPopupTypevoid
public static void UpdateSetPopupType(Rid id, AccessibilityServer.AccessibilityPopupType popup);Sets popup type for popup buttons.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
popup | AccessibilityServer.AccessibilityPopupType | — |
UpdateSetPreviousOnLinevoid
public static void UpdateSetPreviousOnLine(Rid id, Rid otherId);Sets previous element on the line.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
otherId | Rid | — |
UpdateSetRolevoid
public static void UpdateSetRole(Rid id, AccessibilityServer.AccessibilityRole role);Sets element accessibility role.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
role | AccessibilityServer.AccessibilityRole | — |
UpdateSetRoleDescriptionvoid
public static void UpdateSetRoleDescription(Rid id, string description);Sets element accessibility role description text.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
description | string | — |
UpdateSetScrollXvoid
public static void UpdateSetScrollX(Rid id, double position);Sets scroll bar x position.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
position | double | — |
UpdateSetScrollXRangevoid
public static void UpdateSetScrollXRange(Rid id, double min, double max);Sets scroll bar x range.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
min | double | — |
max | double | — |
UpdateSetScrollYvoid
public static void UpdateSetScrollY(Rid id, double position);Sets scroll bar y position.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
position | double | — |
UpdateSetScrollYRangevoid
public static void UpdateSetScrollYRange(Rid id, double min, double max);Sets scroll bar y range.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
min | double | — |
max | double | — |
UpdateSetShortcutvoid
public static void UpdateSetShortcut(Rid id, string shortcut);Sets the list of keyboard shortcuts used by element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
shortcut | string | — |
UpdateSetStateDescriptionvoid
public static void UpdateSetStateDescription(Rid id, string description);Sets human-readable description of the current checked state.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
description | string | — |
UpdateSetTableCellPositionvoid
public static void UpdateSetTableCellPosition(Rid id, int rowIndex, int columnIndex);Sets cell position in the table.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
rowIndex | int | — |
columnIndex | int | — |
UpdateSetTableCellSpanvoid
public static void UpdateSetTableCellSpan(Rid id, int rowSpan, int columnSpan);Sets cell row/column span.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
rowSpan | int | — |
columnSpan | int | — |
UpdateSetTableColumnCountvoid
public static void UpdateSetTableColumnCount(Rid id, int count);Sets number of columns in the table.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
count | int | — |
UpdateSetTableColumnIndexvoid
public static void UpdateSetTableColumnIndex(Rid id, int index);Sets position of the column.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
index | int | — |
UpdateSetTableRowCountvoid
public static void UpdateSetTableRowCount(Rid id, int count);Sets number of rows in the table.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
count | int | — |
UpdateSetTableRowIndexvoid
public static void UpdateSetTableRowIndex(Rid id, int index);Sets position of the row in the table.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
index | int | — |
UpdateSetTextAlignvoid
public static void UpdateSetTextAlign(Rid id, HorizontalAlignment align);Sets element text alignment.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
align | HorizontalAlignment | — |
UpdateSetTextDecorationsvoid
public static void UpdateSetTextDecorations(Rid id, bool underline, bool strikethrough, bool overline, Color? color = default);Sets text underline/overline/strikethrough.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
underline | bool | — |
strikethrough | bool | — |
overline | bool | — |
color | Color? | default |
colorIf the parameter is null, then the default value is new Color(0.0f, 0.0f, 0.0f, 1.0f).
UpdateSetTextOrientationvoid
public static void UpdateSetTextOrientation(Rid id, bool vertical);Sets text orientation.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
vertical | bool | — |
UpdateSetTextSelectionvoid
public static void UpdateSetTextSelection(Rid id, Rid textStartId, int startChar, Rid textEndId, int endChar);Sets text selection to the text field. text_start_id and text_end_id should be elements created by AccessibilityServer.CreateSubTextEditElements. Character offsets are relative to the corresponding element.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
textStartId | Rid | — |
startChar | int | — |
textEndId | Rid | — |
endChar | int | — |
UpdateSetTooltipvoid
public static void UpdateSetTooltip(Rid id, string tooltip);Sets tooltip text.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
tooltip | string | — |
UpdateSetTransformvoid
public static void UpdateSetTransform(Rid id, Transform2D transform);Sets element 2D transform.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
transform | Transform2D | — |
UpdateSetUrlvoid
public static void UpdateSetUrl(Rid id, string url);Sets link URL.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
url | string | — |
UpdateSetValuevoid
public static void UpdateSetValue(Rid id, string value);Sets element text value.
| Name | Type | Default |
|---|---|---|
id | Rid | — |
value | string | — |
AccessibilityServer.AccessibilityAction
| Value | Description |
|---|---|
Blur = 2 | Blur action, callback argument is not set. |
Click = 0 | Single click action, callback argument is not set. |
Collapse = 3 | Collapse action, callback argument is not set. |
Custom = 22 | Custom action, callback argument is set to the integer action ID. |
Decrement = 5 | Decrement action, callback argument is not set. |
Expand = 4 | Expand action, callback argument is not set. |
Focus = 1 | Focus action, callback argument is not set. |
HideTooltip = 7 | Hide tooltip action, callback argument is not set. |
Increment = 6 | Increment action, callback argument is not set. |
ReplaceSelectedText = 10 | Replace text action, callback argument is set to |
ScrollBackward = 11 | Scroll backward action, callback argument is not set. |
ScrollDown = 12 | Scroll down action, callback argument is set to |
ScrollForward = 13 | Scroll forward action, callback argument is not set. |
ScrollIntoView = 17 | Scroll into view action, callback argument is set to |
ScrollLeft = 14 | Scroll left action, callback argument is set to |
ScrollRight = 15 | Scroll right action, callback argument is set to |
ScrollToPoint = 18 | Scroll to point action, callback argument is set to |
ScrollUp = 16 | Scroll up action, callback argument is set to |
SetScrollOffset = 19 | Set scroll offset action, callback argument is set to |
SetTextSelection = 9 | Set text selection action, callback argument is set to
|
SetValue = 20 | Set value action, callback argument is set to |
ShowContextMenu = 21 | Show context menu action, callback argument is not set. |
ShowTooltip = 8 | Show tooltip action, callback argument is not set. |
AccessibilityServer.AccessibilityFlags
| Value | Description |
|---|---|
Busy = 4 | Element content is not ready (e.g. loading). |
ClipsChildren = 9 | Element clips children. |
Disabled = 8 | Element is disabled. |
Modal = 5 | Element is modal window. |
Multiselectable = 1 | Element supports multiple item selection. |
Readonly = 7 | Element is text field with selectable but read-only text. |
Required = 2 | Element require user input. |
TouchPassthrough = 6 | Element allows touches to be passed through when a screen reader is in touch exploration mode. |
Visited = 3 | Element is a visited link. |
AccessibilityServer.AccessibilityLiveMode
| Value | Description |
|---|---|
Assertive = 2 | Indicates that updates to the live region have the highest priority and should be presented immediately. |
Off = 0 | Indicates that updates to the live region should not be presented. |
Polite = 1 | Indicates that updates to the live region should be presented at the next opportunity (for example at the end of speaking the current sentence). |
AccessibilityServer.AccessibilityPopupType
| Value | Description |
|---|---|
Dialog = 3 | Popup dialog. |
List = 1 | Popup list. |
Menu = 0 | Popup menu. |
Tree = 2 | Popup tree view. |
AccessibilityServer.AccessibilityRole
| Value | Description |
|---|---|
Audio = 2 | Audio player element. |
Button = 7 | Button element. |
Cell = 22 | Table/tree cell element. |
CheckBox = 9 | Check box element. |
CheckButton = 11 | Check button element. |
ColorPicker = 20 | Color picker element. |
ColumnHeader = 26 | Table/tree column header element. |
Container = 5 | Container element. Elements with this role are used for internal structure and ignored by screen readers. |
DefaultButton = 1 | Default dialog button element. |
Dialog = 44 | Dialog window element. |
Image = 41 | Image element. |
Link = 8 | Link element. |
List = 29 | List element. |
ListBox = 31 | List view element. |
ListBoxOption = 32 | List view item element. |
ListItem = 30 | List item element. |
Menu = 37 | Popup menu element. |
MenuBar = 36 | Menu bar element. |
MenuItem = 38 | Popup menu item element. |
MenuItemCheckBox = 39 | Popup menu check button item element. |
MenuItemRadio = 40 | Popup menu radio button item element. |
MultilineTextField = 19 | Multiline editable text field element. |
Panel = 6 | Panel container element. |
ProgressIndicator = 17 | Progress indicator element. |
RadioButton = 10 | Radio button element. |
Region = 46 | Region/landmark element. Screen readers can navigate between regions using landmark navigation. |
Row = 23 | Table/tree row element. |
RowGroup = 24 | Table/tree row group element. |
RowHeader = 25 | Table/tree row header element. |
ScrollBar = 12 | Scroll bar element. |
ScrollView = 13 | Scroll container element. |
Slider = 15 | Slider element. |
SpinButton = 16 | Spin box element. |
Splitter = 14 | Container splitter handle element. |
StaticText = 4 | Non-editable text label. |
Tab = 34 | Tab bar item element. |
TabBar = 33 | Tab bar element. |
TabPanel = 35 | Tab panel element. |
Table = 21 | Table element. |
TextField = 18 | Editable text field element. |
TextRun = 47 | Unifor text run. Note: This role is used for internal text elements, and should not be assigned to nodes. |
TitleBar = 43 | Embedded window title bar element. |
Tooltip = 45 | Tooltip element. |
Tree = 27 | Tree view element. |
TreeItem = 28 | Tree view item element. |
Unknown = 0 | Unknown or custom role. |
Video = 3 | Video player element. |
Window = 42 | Window element. |
AccessibilityServer.AccessibilityScrollHint
| Value | Description |
|---|---|
BottomEdge = 3 | A preferred position for the node scrolled into view. Bottom edge of the scroll container. |
BottomRight = 1 | A preferred position for the node scrolled into view. Bottom-right edge of the scroll container. |
LeftEdge = 4 | A preferred position for the node scrolled into view. Left edge of the scroll container. |
RightEdge = 5 | A preferred position for the node scrolled into view. Right edge of the scroll container. |
TopEdge = 2 | A preferred position for the node scrolled into view. Top edge of the scroll container. |
TopLeft = 0 | A preferred position for the node scrolled into view. Top-left edge of the scroll container. |