Interface IScrollable
Contains layout scrolling logic.
Namespace: DevZest.Data.Presenters.Primitives
Assembly: DevZest.Data.WPF.dll
Syntax
public interface IScrollable
Properties
| Name | Description |
|---|---|
| ContainerViewList | Gets the list of ContainerView objects. |
| CurrentContainerViewPlacement | Gets the placement of current ContainerView. |
| ExtentHeight | Gets the vertical size of the extent. |
| ExtentWidth | Gets the horizontal size of the extent. |
| FrozenHeadGridExtentX | Gets the extent of grid column for frozen header. |
| FrozenHeadGridExtentY | Gets the extent of grid row for frozen header. |
| FrozenTailGridExtentX | Gets the extent of grid column for frozen tail. |
| FrozenTailGridExtentY | Gets the extent of grid row for frozen tail. |
| HorizontalOffset | Gets the horizontal offset of the scrolled content. |
| MaxGridExtentX | Gets the max extent of grid columns. |
| MaxGridExtentY | Gets the max extent of grid rows. |
| Panel | Gets the panel that is the container of view elements. |
| ScrollableHeight | Gets the scrollable height which is view port height minus height of frozen grid row(s). |
| ScrollableWidth | Gets the scrollable width which is view port width minus width of frozen grid column(s). |
| VerticalOffset | Gets the vertical offset of the scrolled content. |
| ViewportHeight | Gets the height of the viewport. |
| ViewportWidth | Gets the width of the viewport. |
Methods
| Name | Description |
|---|---|
| EnsureCurrentRowVisible() | Ensures current row is visible. |
| GetExtentX(Int32) | Gets the horizontal extent position for specified grid extent value. |
| GetExtentY(Int32) | Gets the vertical extent position for specified grid extent value. |
| GetPositionX(Int32, GridPlacement) | Gets horizontal position from grid extent. |
| GetPositionY(Int32, GridPlacement) | Gets vertial position from grid extent. |
| ScrollBy(Double, Double) | Scrolls specified offset. |
| ScrollPageDown() | Scrolls one page down. |
| ScrollPageUp() | Scrolls one page up. |
| ScrollTo(Double, Double) | Scrolls to specified offset. |
| ScrollToPageDown() | Scrolls to row page down position. |
| ScrollToPageUp() | Scrolls to row at page up position. |
| ScrollToX(Int32, Double, GridPlacement) | Scrolls to horizontal grid extent position. |
| ScrollToY(Int32, Double, GridPlacement) | Scrolls to vertical grid extent position. |