GridWithScrollBar
A Grid with both horizontal and vertical scroll bar
Constructors
Constructor | Description |
new()
Signature: unit -> GridWithScrollBar
|
|
Instance members
Instance member | Description |
bFirstColumnAlwaysShow()
Signature: unit -> bool
|
Get and set whether first column always show (i.e., does not scroll)
|
bFirstColumnAlwaysShow()
Signature: unit -> unit
|
Get and set whether first column always show (i.e., does not scroll)
|
bFirstRowAlwaysShow()
Signature: unit -> bool
|
Get and set whether first row always show (i.e., does not scroll)
|
bFirstRowAlwaysShow()
Signature: unit -> unit
|
Get and set whether first row always show (i.e., does not scroll)
|
DoSetSizeWithDelayUpdate(width, height)
Signature: (width:float * height:float) -> unit
|
Change the size of the grid
|
GetColumnWidths()
Signature: unit -> float []
Modifiers: abstract
|
The function is called to return the width of column (in pixel) of the grid.
|
GetRowHeights()
Signature: unit -> float []
Modifiers: abstract
|
The function is called to return the height of row (in pixel) of the grid.
|
GetUIElement(arg1, arg2) (arg3, arg4)
Signature: (int * int) -> (int * int) -> UIElement
Modifiers: abstract
|
Get a particular UIElement for the scrolling grid.
The first tuple is the shown row and column.
The second tuple is the row and column in the data.
We have use both shown and grid row/column as some row and column (e.g., the first row) may not
scroll
|
SetSize(width, height)
Signature: (width:float * height:float) -> unit
|
This function should be called whenever the window size has changed
|
Show()
Signature: unit -> unit
|
Show grid
|
Static members
Static member | Description |
ScrollBarWidth()
Signature: unit -> float<MeasureOne>
|
Get and Set size of the scroll bar
|
ScrollBarWidth()
Signature: unit -> unit
|
Get and Set size of the scroll bar
|