Name | Description | |
---|---|---|
AutoScrollerChild | Reference to the AutoScroller child. | |
IsScrollingProperty | Reference to the IsScrolling property. | |
NViewportBaseSchema | Schema associated with NViewportBase. | |
PreviewOverlayChild | Reference to the PreviewLayer child. |
The following tables list the members exposed by NViewportBase.
Name | Description | |
---|---|---|
AutoScrollerChild | Reference to the AutoScroller child. | |
IsScrollingProperty | Reference to the IsScrolling property. | |
NViewportBaseSchema | Schema associated with NViewportBase. | |
PreviewOverlayChild | Reference to the PreviewLayer child. |
Name | Description | |
---|---|---|
AutoScroller | Gets or sets the auto scroller child that control the auto scroll capabilities of this viewport. | |
IsScrolling | Gets whether the viewport is currently being continuosly scrolled, either by dragging the scrollbar thumbs or by pressing the scrollbar arrows. Automatically updated by Nevron. | |
PreviewOverlay | Gets or sets the preview overlay of this viewport. |
Name | Description | |
---|---|---|
AccumulateDisplayChildren | Overridden. Appends the display children of the node to the provided list | |
ScrollInDirection | Scrolls the viewport in the specified direction, with the specified amount of steps. |
Name | Description | |
---|---|---|
AccumulateContentDisplayChildren | Accumulates the display children of the node that are considered to be content. | |
ArrangeInnerAdorners | Overridden. Layouts the inner adorners. This method is typically called last - after the visibility of the adorners has been computed in the layout phase. | |
ArrangeViewport | Arranges the viewport. This operation performs a viewport ZoomMode specific action. This method should be called by derived classes, to update the ViewportOrigin, ZoomFactor and Scrollbars. | |
ArrangeViewportFit | Performs the viewport layout in case of a Fit zoom mode. | |
ArrangeViewportFitToHeight | Performs the viewport layout in case of a FitToHeight zoom mode. | |
ArrangeViewportFitToWidth | Performs the viewport layout in case of a FitToWidth zoom mode. | |
ArrangeViewportNormal | Performs the viewport layout in case of a Normal zoom mode. | |
ComputeViewportSize | Computes the viewport size based on the specified window size | |
ComputeWindowSize | Computes the window size based on a content rect and the specified scrollbars visibility. | |
GetHScrollBar | Must override to return the horizontal scroll bar | |
GetHScrollBarSettings | Gets the settings that need to be applied to the HScrollBar for the specified viewport parameters, in case the HScrollBar is visible. | |
GetHScrollMode | Gets the horizontal scrolling mode | |
GetNoScrollHAlign | Gets the horizontal alignment of the viewport relative to the window in case there is no horizontal scrollbar. | |
GetNoScrollVAlign | Gets the vertical alignment of the viewport relative to the window in case there is no horizontal scrollbar. | |
GetTotalViewport | Gets the total viewport rectangle | |
GetViewportOrigin | Gets the viewport origin | |
GetVScrollBar | Must override to return the vertical scroll bar | |
GetVScrollBarSettings | Gets the settings that need to be applied to the VScrollBar for the viewport parameters, in case the VScrollBar is visible. | |
GetVScrollMode | Gets the vertical scrolling mode | |
GetZoomFactor | Gets the viewport zoom factor | |
GetZoomMode | Get the zoom mode which defines the way in which the viewport is scaled to the window | |
NeedsHScrollBar | Determines the need for a horizontal scrollbar based on a proposed viewport size | |
NeedsVScrollBar | Determines the need for a vertical scrollbar based on a proposed viewport size | |
OnEndScrolling | Called when the viewport stops to be continuosly scrolled. | |
OnHScrollBarScroll | Called when the HScrollbar is scrolled. Updates the viewport origin from the scrollbar value. | |
OnStartScrolling | Called when the viewport starts to be continuosly scrolled. | |
OnVScrollBarScroll | Called when the VScrollbar is scrolled. Updates the viewport origin from the scrollbar value. | |
SetViewportOrigin | Sets the viewport origin | |
SetZoomFactor | Sets the viewport zoom factor | |
UpdateScrollbars | Updates the scrollbars of the viewport. |