-
Home
-
API
-
Broadside.Viewer
-
AccessibilityBridge
-
Methods
-
TryGetViewportShowing(AccessibleNode, out Viewport)
TryGetViewportShowing(AccessibleNode, out Viewport) Method
Definition
Returns the viewport that brings a node into view with the least scrolling from the last viewport.
public bool TryGetViewportShowing(AccessibleNode node, scoped out Viewport viewport)
Parameters
- viewport
- Viewport
The viewport showing the node.
Returns
- Boolean
- True when the viewport must move; false when the node is in view, has no bounds, or there is no layout.