C# Class SourceGrid.GridVirtual

Inheritance: CustomScrollControl
Mostra file Open project: zhuangyy/Motion Class Usage Examples

Protected Properties

Property Type Description
m_MouseCellPosition Position
m_MouseDownPosition Position

Private Properties

Property Type Description
GetVisibleRegion IEnumerable
PerformStretch void
SetScrollArea void

Public Methods

Method Description
ArrangeLinkedControls ( ) : void

Refresh the linked controls bounds

AutoSizeCells ( ) : void

Auto size all the columns and all the rows with the required width and height

AutoSizeCells ( Range p_RangeToAutoSize ) : void

Auto size the columns and the rows speified

ChangeDragCell ( CellContext cell, DragEventArgs pDragEventArgs ) : void

Fired when the cell in the drag events change. For internal use only.

ChangeMouseCell ( Position p_Cell ) : void

Fired when the cell under the mouse change. For internal use only.

ChangeMouseDownCell ( Position p_MouseDownCell, Position p_MouseCell ) : void

Change the cell currently under the mouse

ChangeMouseSelectionCorner ( Position p_Corner ) : void

Fired when the corner of the mouse selection change. For internal use only.

CheckPositions ( ) : void

Check if the positions saved are still valid, for example if all the selected cells are still valid positions, if not the selection are removed without calling any other methods.

ClearValues ( RangeRegion region ) : void

Clear all the selected cells with a valid Model.

GetCell ( Position p_Position ) : Cells.ICellVirtual

Return the Cell at the specified Row and Col position. This method is called for sort operations and for Move operations. If position is Empty return null. This method calls GetCell(int p_iRow, int p_iCol)

GetCell ( int p_iRow, int p_iCol ) : Cells.ICellVirtual

Return the Cell at the specified Row and Col position. Abstract, must be implemented in the derived class.

GetCellsAtColumn ( int p_ColumnIndex ) : Cells.ICellVirtual[]

Returns all the cells at specified column position

GetCellsAtRow ( int p_RowIndex ) : Cells.ICellVirtual[]

Returns all the cells at specified row position

GetFixedLeftArea ( ) : Rectangle
GetFixedTopArea ( ) : Rectangle
GetFixedTopLeftArea ( ) : Rectangle
GetPositionType ( Position position ) : CellPositionType

Returns the type of a cell position

GetScrollableArea ( ) : Rectangle
GetVisibleColumns ( Rectangle displayRectangle, bool returnsPartial ) : List
GetVisibleColumns ( bool returnsPartial ) : List
GetVisibleRows ( Rectangle displayRectangle, bool returnsPartial ) : List
GetVisibleRows ( bool returnsPartial ) : List
GridVirtual ( ) : System

Grid constructor

InvalidateCell ( Position position ) : void

Force a cell to redraw.

InvalidateRange ( Range range ) : void

Force a range of cells to redraw.

IsCellVisible ( Position position, bool partial ) : bool

Indicates if the specified cell is visible.

MouseSelectionFinish ( ) : void

Fired when the mouse selection finish. See also MouseSelectionRange.

OnCellsAreaChanged ( ) : void

Force to recalculate scrollbars and panels location. Used usually after changing width and height of the columns / rows, or after adding or removing rows and columns.

OnUserException ( ExceptionEventArgs e ) : void

Event fired when an exception is throw in some method that require a notification to the user. If not handled by the user (Handled property = false) a MessageBox is used to display the exception.

PositionAtPoint ( Point point ) : Position

Returns the cell at the specified grid view relative point (the point must be relative to the grid display region), SearchInFixedCells = true. Return Position.Empty if no valid cells are found.

PositionToCellRange ( Position pPosition ) : Range

This method converts a Position to the real range of the cell. This is usefull when RowSpan or ColumnSpan is greater than 1. For example suppose to have at grid[0,0] a cell with ColumnSpan equal to 2. If you call this method with the position 0,0 returns 0,0-0,1 and if you call this method with 0,1 return again 0,0-0,1.

PositionToRectangle ( Position position ) : Rectangle

Get the rectangle of the cell respect to the client area visible, the grid DisplayRectangle. Returns Rectangle.Empty if the Position is empty or if is not valid.

PositionToStartPosition ( Position p_Position ) : Position

This method converts a Position to the real start position of cell. This is usefull when RowSpan or ColumnSPan is greater than 1. For example suppose to have at grid[0,0] a cell with ColumnSpan equal to 2. If you call this method with the position 0,0 returns 0,0 and if you call this method with 0,1 return again 0,0. Get the real position for the specified position. For example when p_Position is a merged cell this method returns the starting position of the merged cells. Usually this method returns the same cell specified as parameter. This method is used for processing arrow keys, to find a valid cell when the focus is in a merged cell. For this class returns always p_Position.

ProcessSpecialGridKey ( KeyEventArgs e ) : void

Process Delete, Ctrl+C, Ctrl+V, Up, Down, Left, Right, Tab keys

RangeAtArea ( CellPositionType areaType ) : Range

Get the range of cells at the specified dispaly area. This method consider only the visible cells using the current scroll position. Returns a single Range for the specified grid area (scrollable, fixedtop, fixedleft, fixedtopleft). Returns Range.Empty if there isn't a valid range in the specified area.

RangeToRectangle ( Range range ) : Rectangle

Returns the relative rectangle to the current scrollable area of the specified Range. Returns a Rectangle.Empty if the Range is not valid.

RangeToSize ( Range range ) : Size
ScrollOnPoint ( Point mousePoint ) : void

Move the scrollbars to the direction specified by the point specified. Method used by the Mouse multi selection (MouseSelection.cs)

ShowCell ( Position p_Position, bool ignorePartial ) : bool

Scroll the view to show the cell passed. Ensure that if the cell if invisible or partial visible it will be totally visible

SortRangeRows ( IRangeLoader p_RangeToSort, int keyColumn, bool p_bAsc, IComparer p_CellComparer ) : void

Sort a range of the grid

SortRangeRows ( Range p_Range, int keyColumn, bool p_bAscending, IComparer p_CellComparer ) : void

Sort a range of the grid.

Protected Methods

Method Description
CreateColumnsObject ( ) : SourceGrid.ColumnsBase

Abstract method used to create the columns object.

CreateRowsObject ( ) : SourceGrid.RowsBase

Abstract method used to create the rows object.

CreateSelectionObject ( ) : SelectionBase

Virtual factory method used to create the SelectionBase derived object. The base method create a different object based on the value of SelectionMode property.

Dispose ( bool disposing ) : void

Clean up any resources being used.

GetScrollColumns ( int displayWidth ) : int

Calculate the number of columns to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of columns and the available area.

GetScrollPositionToShowCell ( Position position, bool partial, Point &newScrollPosition ) : bool

Indicates if the specified range is visible

Return the scroll position that must be set to show a specific cell.

GetScrollRows ( int displayHeight ) : int

Returns the logical scroll size (usually Rows and Columns) for the specified display area.

Returns true if the vertical scrollbar is required

Returns true if the horizontal scrollbar is required

Calculate the number of rows to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of rows and the available area.

InvalidateScrollableArea ( ) : void

Invalidate the cells

IsInputChar ( char charCode ) : bool

IsInputChar method.

IsInputKey ( Keys keyData ) : bool

Allow the grid to handle specials keys like Arrows and Tab. See also Grid.SpecialKeys

OnApplyMouseSelection ( RangeEventArgs e ) : void

Fired when the mouse selection is succesfully finished. See also MouseSelectionRange.

OnEnter ( EventArgs e ) : void
OnHScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void

OnHScrollPositionChanged

OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseDoubleClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseSelectionChange ( EventArgs e ) : void

Fired when the mouse selection change. See also MouseSelectionRange.

OnMouseSelectionFinish ( RangeEventArgs e ) : void

Fired when the selection eith the mouse is finished

OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void

Fired when a user scroll with the mouse wheel

OnPaint ( PaintEventArgs e ) : void
OnRangePaint ( RangePaintEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnSortedRangeRows ( SortRangeRowsEventArgs e ) : void

Fired after calling SortRangeRows method

OnSortingRangeRows ( SortRangeRowsEventArgs e ) : void

Fired when calling SortRangeRows method

OnUndoMouseSelection ( RangeEventArgs e ) : void

Fired when the mouse selection must be canceled. See also MouseSelectionRange.

OnVScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void

OnVScrollPositionChanged

OnValidated ( EventArgs e ) : void
PaintCell ( DevAge graphics, CellContext cellContext, RectangleF drawRectangle ) : void

Draw the specified Cell

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Processes a command key.

Private Methods

Method Description
GetVisibleRegion ( ) : IEnumerable

Get the range for the specific area type and rectangle

Get the visible ranges. Returns a list of Range, one for each area.

PerformStretch ( ) : void

Recalculate the scrollbar position and value based on the current cells, scroll client area, linked controls and more. If redraw == false this method has not effect. This method is called when you put Redraw = true;

SetScrollArea ( ) : void

Method Details

ArrangeLinkedControls() public method

Refresh the linked controls bounds
public ArrangeLinkedControls ( ) : void
return void

AutoSizeCells() public method

Auto size all the columns and all the rows with the required width and height
public AutoSizeCells ( ) : void
return void

AutoSizeCells() public method

Auto size the columns and the rows speified
public AutoSizeCells ( Range p_RangeToAutoSize ) : void
p_RangeToAutoSize Range
return void

ChangeDragCell() public method

Fired when the cell in the drag events change. For internal use only.
public ChangeDragCell ( CellContext cell, DragEventArgs pDragEventArgs ) : void
cell CellContext
pDragEventArgs System.Windows.Forms.DragEventArgs
return void

ChangeMouseCell() public method

Fired when the cell under the mouse change. For internal use only.
public ChangeMouseCell ( Position p_Cell ) : void
p_Cell Position
return void

ChangeMouseDownCell() public method

Change the cell currently under the mouse
public ChangeMouseDownCell ( Position p_MouseDownCell, Position p_MouseCell ) : void
p_MouseDownCell Position
p_MouseCell Position
return void

ChangeMouseSelectionCorner() public method

Fired when the corner of the mouse selection change. For internal use only.
public ChangeMouseSelectionCorner ( Position p_Corner ) : void
p_Corner Position
return void

CheckPositions() public method

Check if the positions saved are still valid, for example if all the selected cells are still valid positions, if not the selection are removed without calling any other methods.
public CheckPositions ( ) : void
return void

ClearValues() public method

Clear all the selected cells with a valid Model.
public ClearValues ( RangeRegion region ) : void
region RangeRegion
return void

CreateColumnsObject() protected abstract method

Abstract method used to create the columns object.
protected abstract CreateColumnsObject ( ) : SourceGrid.ColumnsBase
return SourceGrid.ColumnsBase

CreateRowsObject() protected abstract method

Abstract method used to create the rows object.
protected abstract CreateRowsObject ( ) : SourceGrid.RowsBase
return SourceGrid.RowsBase

CreateSelectionObject() protected method

Virtual factory method used to create the SelectionBase derived object. The base method create a different object based on the value of SelectionMode property.
protected CreateSelectionObject ( ) : SelectionBase
return SourceGrid.Selection.SelectionBase

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetCell() public method

Return the Cell at the specified Row and Col position. This method is called for sort operations and for Move operations. If position is Empty return null. This method calls GetCell(int p_iRow, int p_iCol)
public GetCell ( Position p_Position ) : Cells.ICellVirtual
p_Position Position
return Cells.ICellVirtual

GetCell() public abstract method

Return the Cell at the specified Row and Col position. Abstract, must be implemented in the derived class.
public abstract GetCell ( int p_iRow, int p_iCol ) : Cells.ICellVirtual
p_iRow int
p_iCol int
return Cells.ICellVirtual

GetCellsAtColumn() public method

Returns all the cells at specified column position
public GetCellsAtColumn ( int p_ColumnIndex ) : Cells.ICellVirtual[]
p_ColumnIndex int
return Cells.ICellVirtual[]

GetCellsAtRow() public method

Returns all the cells at specified row position
public GetCellsAtRow ( int p_RowIndex ) : Cells.ICellVirtual[]
p_RowIndex int
return Cells.ICellVirtual[]

GetFixedLeftArea() public method

public GetFixedLeftArea ( ) : Rectangle
return System.Drawing.Rectangle

GetFixedTopArea() public method

public GetFixedTopArea ( ) : Rectangle
return System.Drawing.Rectangle

GetFixedTopLeftArea() public method

public GetFixedTopLeftArea ( ) : Rectangle
return System.Drawing.Rectangle

GetPositionType() public method

Returns the type of a cell position
public GetPositionType ( Position position ) : CellPositionType
position Position
return CellPositionType

GetScrollColumns() protected method

Calculate the number of columns to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of columns and the available area.
protected GetScrollColumns ( int displayWidth ) : int
displayWidth int
return int

GetScrollPositionToShowCell() protected method

Indicates if the specified range is visible Return the scroll position that must be set to show a specific cell.
protected GetScrollPositionToShowCell ( Position position, bool partial, Point &newScrollPosition ) : bool
position Position
partial bool True to return also partial visible cells
newScrollPosition Point
return bool

GetScrollRows() protected method

Returns the logical scroll size (usually Rows and Columns) for the specified display area. Returns true if the vertical scrollbar is required Returns true if the horizontal scrollbar is required Calculate the number of rows to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of rows and the available area.
protected GetScrollRows ( int displayHeight ) : int
displayHeight int
return int

GetScrollableArea() public method

public GetScrollableArea ( ) : Rectangle
return System.Drawing.Rectangle

GetVisibleColumns() public method

public GetVisibleColumns ( Rectangle displayRectangle, bool returnsPartial ) : List
displayRectangle System.Drawing.Rectangle
returnsPartial bool
return List

GetVisibleColumns() public method

public GetVisibleColumns ( bool returnsPartial ) : List
returnsPartial bool
return List

GetVisibleRows() public method

public GetVisibleRows ( Rectangle displayRectangle, bool returnsPartial ) : List
displayRectangle System.Drawing.Rectangle
returnsPartial bool
return List

GetVisibleRows() public method

public GetVisibleRows ( bool returnsPartial ) : List
returnsPartial bool
return List

GridVirtual() public method

Grid constructor
public GridVirtual ( ) : System
return System

InvalidateCell() public method

Force a cell to redraw.
public InvalidateCell ( Position position ) : void
position Position
return void

InvalidateRange() public method

Force a range of cells to redraw.
public InvalidateRange ( Range range ) : void
range Range
return void

InvalidateScrollableArea() protected method

Invalidate the cells
protected InvalidateScrollableArea ( ) : void
return void

IsCellVisible() public method

Indicates if the specified cell is visible.
public IsCellVisible ( Position position, bool partial ) : bool
position Position
partial bool True to returns also partial visible cells
return bool

IsInputChar() protected method

IsInputChar method.
protected IsInputChar ( char charCode ) : bool
charCode char
return bool

IsInputKey() protected method

Allow the grid to handle specials keys like Arrows and Tab. See also Grid.SpecialKeys
protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

MouseSelectionFinish() public method

Fired when the mouse selection finish. See also MouseSelectionRange.
public MouseSelectionFinish ( ) : void
return void

OnApplyMouseSelection() protected method

Fired when the mouse selection is succesfully finished. See also MouseSelectionRange.
protected OnApplyMouseSelection ( RangeEventArgs e ) : void
e RangeEventArgs
return void

OnCellsAreaChanged() public method

Force to recalculate scrollbars and panels location. Used usually after changing width and height of the columns / rows, or after adding or removing rows and columns.
public OnCellsAreaChanged ( ) : void
return void

OnEnter() protected method

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnHScrollPositionChanged() protected method

OnHScrollPositionChanged
protected OnHScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void
e ScrollPositionChangedEventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnMouseClick() protected method

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseDoubleClick() protected method

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseSelectionChange() protected method

Fired when the mouse selection change. See also MouseSelectionRange.
protected OnMouseSelectionChange ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseSelectionFinish() protected method

Fired when the selection eith the mouse is finished
protected OnMouseSelectionFinish ( RangeEventArgs e ) : void
e RangeEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

Fired when a user scroll with the mouse wheel
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnRangePaint() protected method

protected OnRangePaint ( RangePaintEventArgs e ) : void
e RangePaintEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnSortedRangeRows() protected method

Fired after calling SortRangeRows method
protected OnSortedRangeRows ( SortRangeRowsEventArgs e ) : void
e SortRangeRowsEventArgs
return void

OnSortingRangeRows() protected method

Fired when calling SortRangeRows method
protected OnSortingRangeRows ( SortRangeRowsEventArgs e ) : void
e SortRangeRowsEventArgs
return void

OnUndoMouseSelection() protected method

Fired when the mouse selection must be canceled. See also MouseSelectionRange.
protected OnUndoMouseSelection ( RangeEventArgs e ) : void
e RangeEventArgs
return void

OnUserException() public method

Event fired when an exception is throw in some method that require a notification to the user. If not handled by the user (Handled property = false) a MessageBox is used to display the exception.
public OnUserException ( ExceptionEventArgs e ) : void
e ExceptionEventArgs
return void

OnVScrollPositionChanged() protected method

OnVScrollPositionChanged
protected OnVScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void
e ScrollPositionChangedEventArgs
return void

OnValidated() protected method

protected OnValidated ( EventArgs e ) : void
e System.EventArgs
return void

PaintCell() protected method

Draw the specified Cell
protected PaintCell ( DevAge graphics, CellContext cellContext, RectangleF drawRectangle ) : void
graphics DevAge
cellContext CellContext
drawRectangle System.Drawing.RectangleF
return void

PositionAtPoint() public method

Returns the cell at the specified grid view relative point (the point must be relative to the grid display region), SearchInFixedCells = true. Return Position.Empty if no valid cells are found.
public PositionAtPoint ( Point point ) : Position
point Point Point relative to the DisplayRectangle area.
return Position

PositionToCellRange() public method

This method converts a Position to the real range of the cell. This is usefull when RowSpan or ColumnSpan is greater than 1. For example suppose to have at grid[0,0] a cell with ColumnSpan equal to 2. If you call this method with the position 0,0 returns 0,0-0,1 and if you call this method with 0,1 return again 0,0-0,1.
public PositionToCellRange ( Position pPosition ) : Range
pPosition Position
return Range

PositionToRectangle() public method

Get the rectangle of the cell respect to the client area visible, the grid DisplayRectangle. Returns Rectangle.Empty if the Position is empty or if is not valid.
public PositionToRectangle ( Position position ) : Rectangle
position Position
return System.Drawing.Rectangle

PositionToStartPosition() public method

This method converts a Position to the real start position of cell. This is usefull when RowSpan or ColumnSPan is greater than 1. For example suppose to have at grid[0,0] a cell with ColumnSpan equal to 2. If you call this method with the position 0,0 returns 0,0 and if you call this method with 0,1 return again 0,0. Get the real position for the specified position. For example when p_Position is a merged cell this method returns the starting position of the merged cells. Usually this method returns the same cell specified as parameter. This method is used for processing arrow keys, to find a valid cell when the focus is in a merged cell. For this class returns always p_Position.
public PositionToStartPosition ( Position p_Position ) : Position
p_Position Position
return Position

ProcessCmdKey() protected method

Processes a command key.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
return bool

ProcessSpecialGridKey() public method

Process Delete, Ctrl+C, Ctrl+V, Up, Down, Left, Right, Tab keys
public ProcessSpecialGridKey ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

RangeAtArea() public method

Get the range of cells at the specified dispaly area. This method consider only the visible cells using the current scroll position. Returns a single Range for the specified grid area (scrollable, fixedtop, fixedleft, fixedtopleft). Returns Range.Empty if there isn't a valid range in the specified area.
public RangeAtArea ( CellPositionType areaType ) : Range
areaType CellPositionType
return Range

RangeToRectangle() public method

Returns the relative rectangle to the current scrollable area of the specified Range. Returns a Rectangle.Empty if the Range is not valid.
public RangeToRectangle ( Range range ) : Rectangle
range Range
return System.Drawing.Rectangle

RangeToSize() public method

public RangeToSize ( Range range ) : Size
range Range
return System.Drawing.Size

ScrollOnPoint() public method

Move the scrollbars to the direction specified by the point specified. Method used by the Mouse multi selection (MouseSelection.cs)
public ScrollOnPoint ( Point mousePoint ) : void
mousePoint Point
return void

ShowCell() public method

Scroll the view to show the cell passed. Ensure that if the cell if invisible or partial visible it will be totally visible
public ShowCell ( Position p_Position, bool ignorePartial ) : bool
p_Position Position
ignorePartial bool true to ignore and consider already visible partial visible cells
return bool

SortRangeRows() public method

Sort a range of the grid
public SortRangeRows ( IRangeLoader p_RangeToSort, int keyColumn, bool p_bAsc, IComparer p_CellComparer ) : void
p_RangeToSort IRangeLoader Range to sort
keyColumn int Index of the column relative to the grid to use as sort keys, must be between start and end col of the range
p_bAsc bool Ascending true, Descending false
p_CellComparer IComparer CellComparer, if null the default comparer will be used
return void

SortRangeRows() public method

Sort a range of the grid.
public SortRangeRows ( Range p_Range, int keyColumn, bool p_bAscending, IComparer p_CellComparer ) : void
p_Range Range
keyColumn int Index of the column relative to the grid to use as sort keys, must be between start and end col
p_bAscending bool Ascending true, Descending false
p_CellComparer IComparer CellComparer, if null the default ValueCellComparer comparer will be used
return void

Property Details

m_MouseCellPosition protected_oe property

protected Position,SourceGrid m_MouseCellPosition
return Position

m_MouseDownPosition protected_oe property

Represents the cell that receive the mouse down event
protected Position,SourceGrid m_MouseDownPosition
return Position