C# 클래스 ZForge.Controls.XPTable.Models.Table

상속: System.Windows.Forms.Control, ISupportInitialize
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddItem void
CalculateColumns void
DeleteItem void
DrawReversibleLine void
GetColumnLeft int
GetColumnWidth int
GetRowFromDataSource Row
GetSecondaryComparers ZForge.Controls.XPTable.Sorting.IComparerCollection
ResetHotColumn void
ResetLastMouseCell void
ResetToolTip void
RowY int
SetEditingCell void
SetEditingCell void
ShouldSerializeBackColor bool
ShouldSerializeGridColor bool
ShouldSerializeHeaderFont bool
ShouldSerializeSelectionBackColor bool
ShouldSerializeSelectionForeColor bool
ShouldSerializeSortedColumnBackColor bool
ShouldSerializeUnfocusedSelectionBackColor bool
ShouldSerializeUnfocusedSelectionForeColor bool
Sort void
TryDataBinding void
UpdateAllData void
UpdateItem void
VScrollOffset int
VisibleRowCountExact int
cell_PropertyChanged void
dataManager_ListChanged void
dataManager_PositionChanged void
scrollBar_GotFocus void

공개 메소드들

메소드 설명
BeginInit ( ) : void

Signals the object that initialization is starting

BeginUpdate ( ) : void

Prevents the Table from drawing until the EndUpdate method is called

CancelEditing ( ) : void

Cancels editing the current Cell and ignores any changes

CellAt ( Point p ) : Cell

Returns the Cell at the specified client Point

CellAt ( int x, int y ) : Cell

Returns the Cell at the specified client coordinates

CellRect ( Cell cell ) : Rectangle

Returns a Rectangle that specifies the size and location of the specified cell in client coordinates

CellRect ( CellPos cellPos ) : Rectangle

Returns a Rectangle that specifies the size and location the cell at the specified cell position in client coordinates

CellRect ( int row, int column ) : Rectangle

Returns a Rectangle that specifies the size and location the cell at the specified row and column indexes in client coordinates

Clear ( ) : void

Removes the ColumnModel and TableModel from the Table

ClientToDisplayRect ( Point p ) : Point

Computes the location of the specified client point into coordinates relative to the display rectangle

ClientToDisplayRect ( int x, int y ) : Point

Computes the location of the specified client point into coordinates relative to the display rectangle

ClientToDisplayRect ( Rectangle rect ) : Rectangle

Converts the location of the specified Rectangle into coordinates relative to the display rectangle

ColumnHeaderRect ( Column column ) : Rectangle

Returns the bounding rectangle of the specified column's header in client coordinates

ColumnHeaderRect ( int column ) : Rectangle

Returns the bounding rectangle of the specified column's header in client coordinates

ColumnIndexAt ( Point p ) : int

Returns the index of the Column at the specified client point

ColumnIndexAt ( int x, int y ) : int

Returns the index of the Column at the specified client coordinates

ColumnRect ( Column column ) : Rectangle

Returns the bounding rectangle of the specified column in client coordinates

ColumnRect ( int column ) : Rectangle

Returns the bounding rectangle of the column at the specified index in client coordinates

DisplayRectToClient ( Point p ) : Point

Computes the location of the specified point relative to the display rectangle into client coordinates

DisplayRectToClient ( int x, int y ) : Point

Computes the location of the specified point relative to the display rectangle point into client coordinates

DisplayRectToClient ( Rectangle rect ) : Rectangle

Converts the location of the specified Rectangle relative to the display rectangle into client coordinates

EditCell ( CellPos cellPos ) : void

Starts editing the Cell at the specified CellPos

EditCell ( int row, int column ) : void

Starts editing the Cell at the specified row and column indexes

EndInit ( ) : void

Signals the object that initialization is complete

EndUpdate ( ) : void

Resumes drawing of the Table after drawing is suspended by the BeginUpdate method

EnsureVisible ( CellPos cellPos ) : bool

Ensures that the Cell at the specified CellPos is visible within the Table, scrolling the contents of the Table if necessary

EnsureVisible ( int row, int column ) : bool

Ensures that the Cell at the specified row and column is visible within the Table, scrolling the contents of the Table if necessary

GetContainingCell ( Control control ) : Cell

Returns the cell that contains the given Control (in a ControlColumn). Returns null if the control is not in a valid cell.

HitTest ( Point p ) : TableRegion

Returns a TableRegions value that represents the table region at the specified client point

HitTest ( int x, int y ) : TableRegion

Returns a TableRegions value that represents the table region at the specified client coordinates

InvalidateCell ( Cell cell ) : void

Invalidates the specified Cell

InvalidateCell ( CellPos cellPos ) : void

Invalidates the Cell located at the specified CellPos

InvalidateCell ( int row, int column ) : void

Invalidates the Cell located at the specified row and column indicies

InvalidateRect ( Rectangle rect ) : void

Invalidates the given Rectangle

InvalidateRow ( CellPos cellPos ) : void

Invalidates the Row located at the specified CellPos

InvalidateRow ( Row row ) : void

Invalidates the specified Row

InvalidateRow ( int row ) : void

Invalidates the Row located at the specified row index

IsCellEditable ( CellPos cellpos ) : bool

Returns whether the Cell at the specified CellPos is able to be edited by the user

IsCellEditable ( int row, int column ) : bool

Returns whether the Cell at the specified row and column is able to be edited by the user

IsCellEnabled ( CellPos cellpos ) : bool

Returns whether the Cell at the specified CellPos is able to respond to user interaction

IsCellEnabled ( int row, int column ) : bool

Returns whether the Cell at the specified row and column is able to respond to user interaction

IsValidColumn ( int column ) : bool

Returns whether a Column exists at the specified index in the Table's ColumnModel

ResetMouseEventArgs ( ) : void

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code

RowIndexAt ( Point p ) : int

Returns the index of the Row at the specified client point

RowIndexAt ( int x, int y ) : int

Returns the index of the Row at the specified client coordinates

RowRect ( Row row ) : Rectangle

Returns the bounding rectangle of the specified row in client coordinates

RowRect ( int row ) : Rectangle

Returns the bounding rectangle of the row at the specified index in client coordinates

RowYDifference ( int row1, int row2 ) : int

Returns the difference in Y-coords between the tops of the two given rows. May return a negative.

Sort ( ) : void

Sorts the last sorted column opposite to its current sort order, or sorts the currently focused column in ascending order if no columns have been sorted

Sort ( bool stable ) : void

Sorts the last sorted column opposite to its current sort order, or sorts the currently focused column in ascending order if no columns have been sorted

Sort ( int column ) : void

Sorts the specified column opposite to its current sort order, or in ascending order if the column is not sorted

Sort ( int column, SortOrder sortOrder ) : void

Sorts the specified column in the specified sort direction

Sort ( int column, SortOrder sortOrder, bool stable ) : void

Sorts the specified column in the specified sort direction

Sort ( int column, bool stable ) : void

Sorts the specified column opposite to its current sort order, or in ascending order if the column is not sorted

StopEditing ( ) : void

Stops editing the current Cell and commits any changes

Table ( ) : System

Initializes a new instance of the Table class with default settings

UpdateScrollBars ( ) : void

Updates the scrollbars to reflect any changes made to the Table

보호된 메소드들

메소드 설명
CalcTableState ( int x, int y ) : void

Calculates the state of the Table at the specified client coordinates

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the Control and optionally releases the managed resources

FindNextEditableCell ( CellPos start, bool wrap, bool forward, bool includeStart ) : CellPos

Returns a CellPos that specifies the next Cell that able to be edited from the specified Cell

FindNextVisibleEnabledCell ( CellPos start, bool wrap, bool forward, bool includeStart, bool checkOtherCellsInRow ) : CellPos

Returns a CellPos that specifies the next Cell that is visible and enabled from the specified Cell

HorizontalScroll ( int value ) : void

Scrolls the contents of the Table horizontally to the specified value

IsInputKey ( Keys keyData ) : bool

Determines whether the specified key is a regular input key or a special key that requires preprocessing

IsReservedKey ( Keys key ) : bool

Determines whether the specified key is reserved for use by the Table

IsValidCell ( CellPos cellPos ) : bool

Returns whether Cell at the specified cell position is not null

IsValidCell ( int row, int column ) : bool

Returns whether Cell at the specified row and column indexes is not null

OnAfterPaintCell ( PaintCellEventArgs e ) : void

Raises the AfterPaintCell event

OnAfterPaintHeader ( PaintHeaderEventArgs e ) : void

Raises the AfterPaintHeader event

OnBeforePaintCell ( PaintCellEventArgs e ) : void

Raises the BeforePaintCell event

OnBeforePaintHeader ( PaintHeaderEventArgs e ) : void

Raises the BeforePaintHeader event

OnBeginEditing ( CellEditEventArgs e ) : void

Raises the BeginEditing event

OnBeginSort ( ColumnEventArgs e ) : void

Raises the BeginSort event

OnBindingContextChanged ( EventArgs e ) : void

Fires the BindingContextChanged event. Called when something has changed

OnCellAdded ( RowEventArgs e ) : void

Raises the CellAdded event

OnCellButtonClicked ( CellButtonEventArgs e ) : void

Raises the CellButtonClicked event

OnCellCheckChanged ( CellCheckBoxEventArgs e ) : void

Raises the CellCheckChanged event

OnCellClick ( CellMouseEventArgs e ) : void

Raises the CellClick event

OnCellDoubleClick ( CellMouseEventArgs e ) : void

Raises the CellDoubleClick event

OnCellGotFocus ( CellFocusEventArgs e ) : void

Raises the CellGotFocus event

OnCellKeyDown ( CellKeyEventArgs e ) : void

Raises the CellKeyDown event

OnCellKeyUp ( CellKeyEventArgs e ) : void

Raises the CellKeyUp event

OnCellLostFocus ( CellFocusEventArgs e ) : void

Raises the CellLostFocus event

OnCellMouseDown ( CellMouseEventArgs e ) : void

Raises the CellMouseDown event

OnCellMouseEnter ( CellMouseEventArgs e ) : void

Raises the CellMouseEnter event

OnCellMouseHover ( CellMouseEventArgs e ) : void

Raises the CellHover event

OnCellMouseLeave ( CellMouseEventArgs e ) : void

Raises the CellMouseLeave event

OnCellMouseMove ( CellMouseEventArgs e ) : void

Raises the CellMouseMove event

OnCellMouseUp ( CellMouseEventArgs e ) : void

Raises the CellMouseUp event

OnCellPropertyChanged ( CellEventArgs e ) : void

Raises the CellPropertyChanged event

OnCellRemoved ( RowEventArgs e ) : void

Raises the CellRemoved event

OnClick ( EventArgs e ) : void

Raises the Click event

OnColumnAdded ( ColumnModelEventArgs e ) : void

Raises the ColumnAdded event

OnColumnModelChanged ( TableEventArgs e ) : void

Raises the ColumnModelChanged event

OnColumnPropertyChanged ( ColumnEventArgs e ) : void

Raises the ColumnPropertyChanged event

OnColumnRemoved ( ColumnModelEventArgs e ) : void

Raises the ColumnRemoved event

OnDoubleClick ( EventArgs e ) : void

Raises the DoubleClick event

OnEditingCancelled ( CellEditEventArgs e ) : void

Raises the EditingCancelled event

OnEditingStopped ( CellEditEventArgs e ) : void

Raises the EditingStopped event

OnEndSort ( ColumnEventArgs e ) : void

Raises the EndSort event

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event

OnHeaderClick ( HeaderMouseEventArgs e ) : void

Raises the HeaderClick event

OnHeaderDoubleClick ( HeaderMouseEventArgs e ) : void

Raises the HeaderDoubleClick event

OnHeaderHeightChanged ( EventArgs e ) : void

Raises the HeaderHeightChanged event

OnHeaderMouseDown ( HeaderMouseEventArgs e ) : void

Raises the HeaderMouseDown event

OnHeaderMouseEnter ( HeaderMouseEventArgs e ) : void

Raises the HeaderMouseEnter event

OnHeaderMouseHover ( HeaderMouseEventArgs e ) : void

Raises the HeaderMouseHover event

OnHeaderMouseLeave ( HeaderMouseEventArgs e ) : void

Raises the HeaderMouseLeave event

OnHeaderMouseMove ( HeaderMouseEventArgs e ) : void

Raises the HeaderMouseMove event

OnHeaderMouseUp ( HeaderMouseEventArgs e ) : void

Raises the HeaderMouseUp event

OnHorizontalScroll ( object sender, ScrollEventArgs e ) : void

Occurs when the Table's horizontal scrollbar is scrolled

OnKeyDown ( KeyEventArgs e ) : void

Raises the KeyDown event

OnKeyUp ( KeyEventArgs e ) : void

Raises the KeyUp event

OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void

Raises the Layout event

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event

OnMouseDown ( MouseEventArgs e ) : void

Raises the MouseDown event

OnMouseHover ( EventArgs e ) : void

Raises the MouseHover event

OnMouseLeave ( EventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( MouseEventArgs e ) : void

Raises the MouseMove event

OnMouseUp ( MouseEventArgs e ) : void

Raises the MouseUp event

OnMouseWheel ( MouseEventArgs e ) : void

Raises the MouseWheel event

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintEventArgs e ) : void

Raises the PaintBackground event

OnPaintBorder ( PaintEventArgs e ) : void

Paints the Table's border

OnPaintCell ( PaintEventArgs e, int row, int column, Rectangle cellRect ) : void

Paints the Cell at the specified row and column indexes

OnPaintEmptyTableText ( PaintEventArgs e ) : void

Paints the message that is displayed when the Table doen't contain any items

OnPaintGrid ( PaintEventArgs e ) : void

Paints the Table's grid

OnPaintHeader ( PaintEventArgs e ) : void

Paints the Table's Column headers

OnPaintRow ( PaintEventArgs e, int row, Rectangle rowRect ) : void

Paints the Row at the specified index

OnPaintRows ( PaintEventArgs e ) : void

Paints the Table's Rows

OnRowAdded ( TableModelEventArgs e ) : void

Raises the RowAdded event

OnRowHeightChanged ( EventArgs e ) : void

Raises the RowHeightChanged event

OnRowPropertyChanged ( RowEventArgs e ) : void

Raises the RowPropertyChanged event

OnRowRemoved ( TableModelEventArgs e ) : void

Raises the RowRemoved event

OnSelectionChanged ( SelectionEventArgs e ) : void

Raises the SelectionChanged event

OnTableModelChanged ( TableEventArgs e ) : void

Raises the TableModelChanged event

OnVerticalScroll ( object sender, ScrollEventArgs e ) : void

Occurs when the Table's vertical scrollbar is scrolled

RaiseCellGotFocus ( CellPos cellPos ) : void

Raises the GotFocus event for the Cell at the specified position

RaiseCellKeyDown ( CellPos cellPos, KeyEventArgs e ) : void

Raises a KeyDown event for the Cell at the specified cell position

RaiseCellKeyUp ( CellPos cellPos, KeyEventArgs e ) : void

Raises a KeyUp event for the Cell at the specified cell position

RaiseCellLostFocus ( CellPos cellPos ) : void

Raises the LostFocus event for the Cell at the specified position

RaiseCellMouseDown ( CellPos cellPos, MouseEventArgs e ) : void

Raises a MouseDown event for the Cell at the specified cell position

RaiseCellMouseEnter ( CellPos cellPos ) : void

Raises a MouseEnter event for the Cell at the specified cell position

RaiseCellMouseLeave ( CellPos cellPos ) : void

Raises a MouseLeave event for the Cell at the specified cell position

RaiseCellMouseMove ( CellPos cellPos, MouseEventArgs e ) : void

Raises a MouseMove event for the Cell at the specified cell position

RaiseCellMouseUp ( CellPos cellPos, MouseEventArgs e ) : void

Raises a MouseUp event for the Cell at the specified cell position

RaiseHeaderMouseDown ( int index, MouseEventArgs e ) : void

Raises a MouseDown event for the Column header at the specified colunm index position

RaiseHeaderMouseEnter ( int index ) : void

Raises a MouseEnter event for the Column header at the specified colunm index position

RaiseHeaderMouseLeave ( int index ) : void

Raises a MouseLeave event for the Column header at the specified colunm index position

RaiseHeaderMouseMove ( int index, MouseEventArgs e ) : void

Raises a MouseMove event for the Column header at the specified colunm index position

RaiseHeaderMouseUp ( int index, MouseEventArgs e ) : void

Raises a MouseUp event for the Column header at the specified colunm index position

ResolveColspan ( CellPos cellPos ) : CellPos

Returns the position of the actual cell that renders to the given cell pos. This looks at colspans and returns the cell that colspan overs the given cell (if any)

VerticalScroll ( int value ) : void

Scrolls the contents of the Table vertically to the specified value

비공개 메소드들

메소드 설명
AddItem ( int index ) : void

Inserts the item at the given index from the data source.

CalculateColumns ( ) : void

Creates a ColumnModel for the columns the data source provides and assigns it to the Table.

DeleteItem ( int index ) : void

Removes the given item from the TableModel.

DrawReversibleLine ( int x ) : void

Draws a reversible line at the specified screen x-coordinate that is the height of the PseudoClientRect

GetColumnLeft ( int column ) : int

Returns the left position of the given column.

GetColumnWidth ( int column, Cell cell ) : int

Returns the actual width that this cell can render over (taking colspan into account). Normally its just the width of this column from the column model.

GetRowFromDataSource ( int index ) : Row

Returns a row (ready to be added into the TableModel) derived from the given index in the data source.

GetSecondaryComparers ( SortColumnCollection secondarySortOrders ) : IComparerCollection

Gets a collection of comparers for the underlying sort order(s)

ResetHotColumn ( ) : void

Resets the current "hot" column

ResetLastMouseCell ( ) : void

Resets the last known cell position that the mouse was over to empty

ResetToolTip ( ) : void

RowY ( int row ) : int

Returns the Y-coord of the top of the row at the specified index in client coordinates

SetEditingCell ( Cell cell, ICellEditor editor ) : void

Records the Cell that is currently being edited and the ICellEditor used to edit the Cell

SetEditingCell ( CellPos cellPos, ICellEditor editor ) : void

Records the Cell that is currently being edited and the ICellEditor used to edit the Cell

ShouldSerializeBackColor ( ) : bool

Specifies whether the Table's BackColor property should be serialized at design time

ShouldSerializeGridColor ( ) : bool

Specifies whether the Table's GridColor property should be serialized at design time

ShouldSerializeHeaderFont ( ) : bool

Specifies whether the Table's HeaderFont property should be serialized at design time

ShouldSerializeSelectionBackColor ( ) : bool

Specifies whether the Table's SelectionBackColor property should be serialized at design time

ShouldSerializeSelectionForeColor ( ) : bool

Specifies whether the Table's SelectionForeColor property should be serialized at design time

ShouldSerializeSortedColumnBackColor ( ) : bool

Specifies whether the Table's SortedColumnBackColor property should be serialized at design time

ShouldSerializeUnfocusedSelectionBackColor ( ) : bool

Specifies whether the Table's UnfocusedSelectionBackColor property should be serialized at design time

ShouldSerializeUnfocusedSelectionForeColor ( ) : bool

Specifies whether the Table's UnfocusedSelectionForeColor property should be serialized at design time

Sort ( int index, Column column, SortOrder sortOrder, bool stable ) : void

Sorts the specified column in the specified sort direction

TryDataBinding ( ) : void

Gets the CurrencyManager by the BindingContext, unwires the old CurrencyManager (if needed), and wires the new CurrencyManager. Then it calls calculateColumns and updateAllData.

UpdateAllData ( ) : void

Clears and re-adds all data from the data source.

UpdateItem ( int index ) : void

Refreshes the given item in the TableModel.

VScrollOffset ( ) : int

Computes the height of the rows that are not visible (i.e. above the top row currently displayed).

VisibleRowCountExact ( ) : int

Returns the number of visible rows, determined by iterating over all visible rows. Copes with word-wrapped rows.

cell_PropertyChanged ( object sender, CellEventArgs e ) : void

Handler for a Cells PropertyChanged event

dataManager_ListChanged ( object sender, ListChangedEventArgs e ) : void

Fired when any data is changed, removed or added to the data source.

dataManager_PositionChanged ( object sender, EventArgs e ) : void

Called when the selected row in the data source changes. Ensures the Table keeps this row in view.

scrollBar_GotFocus ( object sender, EventArgs e ) : void

Handler for a ScrollBars GotFocus event

메소드 상세

BeginInit() 공개 메소드

Signals the object that initialization is starting
public BeginInit ( ) : void
리턴 void

BeginUpdate() 공개 메소드

Prevents the Table from drawing until the EndUpdate method is called
public BeginUpdate ( ) : void
리턴 void

CalcTableState() 보호된 메소드

Calculates the state of the Table at the specified client coordinates
protected CalcTableState ( int x, int y ) : void
x int The client x coordinate
y int The client y coordinate
리턴 void

CancelEditing() 공개 메소드

Cancels editing the current Cell and ignores any changes
public CancelEditing ( ) : void
리턴 void

CellAt() 공개 메소드

Returns the Cell at the specified client Point
public CellAt ( Point p ) : Cell
p Point The point of interest
리턴 Cell

CellAt() 공개 메소드

Returns the Cell at the specified client coordinates
public CellAt ( int x, int y ) : Cell
x int The client x coordinate of the Cell
y int The client y coordinate of the Cell
리턴 Cell

CellRect() 공개 메소드

Returns a Rectangle that specifies the size and location of the specified cell in client coordinates
public CellRect ( Cell cell ) : Rectangle
cell Cell The cell whose bounding rectangle is to be retrieved
리턴 System.Drawing.Rectangle

CellRect() 공개 메소드

Returns a Rectangle that specifies the size and location the cell at the specified cell position in client coordinates
public CellRect ( CellPos cellPos ) : Rectangle
cellPos CellPos The position of the cell
리턴 System.Drawing.Rectangle

CellRect() 공개 메소드

Returns a Rectangle that specifies the size and location the cell at the specified row and column indexes in client coordinates
public CellRect ( int row, int column ) : Rectangle
row int The index of the row that contains the cell
column int The index of the column that contains the cell
리턴 System.Drawing.Rectangle

Clear() 공개 메소드

Removes the ColumnModel and TableModel from the Table
public Clear ( ) : void
리턴 void

ClientToDisplayRect() 공개 메소드

Computes the location of the specified client point into coordinates relative to the display rectangle
public ClientToDisplayRect ( Point p ) : Point
p Point The client coordinate Point to convert
리턴 Point

ClientToDisplayRect() 공개 메소드

Computes the location of the specified client point into coordinates relative to the display rectangle
public ClientToDisplayRect ( int x, int y ) : Point
x int The client x coordinate to convert
y int The client y coordinate to convert
리턴 Point

ClientToDisplayRect() 공개 메소드

Converts the location of the specified Rectangle into coordinates relative to the display rectangle
public ClientToDisplayRect ( Rectangle rect ) : Rectangle
rect System.Drawing.Rectangle The Rectangle to convert whose location is in /// client coordinates
리턴 System.Drawing.Rectangle

ColumnHeaderRect() 공개 메소드

Returns the bounding rectangle of the specified column's header in client coordinates
public ColumnHeaderRect ( Column column ) : Rectangle
column Column The column
리턴 System.Drawing.Rectangle

ColumnHeaderRect() 공개 메소드

Returns the bounding rectangle of the specified column's header in client coordinates
public ColumnHeaderRect ( int column ) : Rectangle
column int The index of the column
리턴 System.Drawing.Rectangle

ColumnIndexAt() 공개 메소드

Returns the index of the Column at the specified client point
public ColumnIndexAt ( Point p ) : int
p Point The point of interest
리턴 int

ColumnIndexAt() 공개 메소드

Returns the index of the Column at the specified client coordinates
public ColumnIndexAt ( int x, int y ) : int
x int The client x coordinate of the Column
y int The client y coordinate of the Column
리턴 int

ColumnRect() 공개 메소드

Returns the bounding rectangle of the specified column in client coordinates
public ColumnRect ( Column column ) : Rectangle
column Column The column
리턴 System.Drawing.Rectangle

ColumnRect() 공개 메소드

Returns the bounding rectangle of the column at the specified index in client coordinates
public ColumnRect ( int column ) : Rectangle
column int The column
리턴 System.Drawing.Rectangle

DisplayRectToClient() 공개 메소드

Computes the location of the specified point relative to the display rectangle into client coordinates
public DisplayRectToClient ( Point p ) : Point
p Point The point relative to the display rectangle to convert
리턴 Point

DisplayRectToClient() 공개 메소드

Computes the location of the specified point relative to the display rectangle point into client coordinates
public DisplayRectToClient ( int x, int y ) : Point
x int The x coordinate to convert relative to the display rectangle
y int The y coordinate to convert relative to the display rectangle
리턴 Point

DisplayRectToClient() 공개 메소드

Converts the location of the specified Rectangle relative to the display rectangle into client coordinates
public DisplayRectToClient ( Rectangle rect ) : Rectangle
rect System.Drawing.Rectangle The Rectangle to convert whose location is relative to /// the display rectangle
리턴 System.Drawing.Rectangle

Dispose() 보호된 메소드

Releases the unmanaged resources used by the Control and optionally releases the managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources
리턴 void

EditCell() 공개 메소드

Starts editing the Cell at the specified CellPos
public EditCell ( CellPos cellPos ) : void
cellPos CellPos A CellPos that specifies the Cell to be edited
리턴 void

EditCell() 공개 메소드

Starts editing the Cell at the specified row and column indexes
public EditCell ( int row, int column ) : void
row int The row index of the Cell to be edited
column int The column index of the Cell to be edited
리턴 void

EndInit() 공개 메소드

Signals the object that initialization is complete
public EndInit ( ) : void
리턴 void

EndUpdate() 공개 메소드

Resumes drawing of the Table after drawing is suspended by the BeginUpdate method
public EndUpdate ( ) : void
리턴 void

EnsureVisible() 공개 메소드

Ensures that the Cell at the specified CellPos is visible within the Table, scrolling the contents of the Table if necessary
public EnsureVisible ( CellPos cellPos ) : bool
cellPos CellPos A CellPos that contains the zero-based index /// of the row and column to scroll into view
리턴 bool

EnsureVisible() 공개 메소드

Ensures that the Cell at the specified row and column is visible within the Table, scrolling the contents of the Table if necessary
public EnsureVisible ( int row, int column ) : bool
row int The zero-based index of the row to scroll into view
column int The zero-based index of the column to scroll into view
리턴 bool

FindNextEditableCell() 보호된 메소드

Returns a CellPos that specifies the next Cell that able to be edited from the specified Cell
protected FindNextEditableCell ( CellPos start, bool wrap, bool forward, bool includeStart ) : CellPos
start CellPos A CellPos that specifies the Cell to start /// searching from
wrap bool Specifies whether to move to the start of the /// next Row when the end of the current Row is reached
forward bool Specifies whether the search should travel /// in a forward direction (top to bottom, left to right) through the Cells
includeStart bool Indicates whether the specified starting /// Cell is included in the search
리턴 CellPos

FindNextVisibleEnabledCell() 보호된 메소드

Returns a CellPos that specifies the next Cell that is visible and enabled from the specified Cell
protected FindNextVisibleEnabledCell ( CellPos start, bool wrap, bool forward, bool includeStart, bool checkOtherCellsInRow ) : CellPos
start CellPos A CellPos that specifies the Cell to start /// searching from
wrap bool Specifies whether to move to the start of the /// next Row when the end of the current Row is reached
forward bool Specifies whether the search should travel /// in a forward direction (top to bottom, left to right) through the Cells
includeStart bool Indicates whether the specified starting /// Cell is included in the search
checkOtherCellsInRow bool Specifies whether all Cells in /// the Row should be included in the search
리턴 CellPos

GetContainingCell() 공개 메소드

Returns the cell that contains the given Control (in a ControlColumn). Returns null if the control is not in a valid cell.
If the control is not added to this table.
public GetContainingCell ( Control control ) : Cell
control System.Windows.Forms.Control The control that is part of a Cell.
리턴 Cell

HitTest() 공개 메소드

Returns a TableRegions value that represents the table region at the specified client point
public HitTest ( Point p ) : TableRegion
p Point The point of interest
리턴 TableRegion

HitTest() 공개 메소드

Returns a TableRegions value that represents the table region at the specified client coordinates
public HitTest ( int x, int y ) : TableRegion
x int The client x coordinate
y int The client y coordinate
리턴 TableRegion

HorizontalScroll() 보호된 메소드

Scrolls the contents of the Table horizontally to the specified value
protected HorizontalScroll ( int value ) : void
value int The value to scroll to
리턴 void

InvalidateCell() 공개 메소드

Invalidates the specified Cell
public InvalidateCell ( Cell cell ) : void
cell Cell The Cell to be invalidated
리턴 void

InvalidateCell() 공개 메소드

Invalidates the Cell located at the specified CellPos
public InvalidateCell ( CellPos cellPos ) : void
cellPos CellPos A CellPos that specifies the Cell to be invalidated
리턴 void

InvalidateCell() 공개 메소드

Invalidates the Cell located at the specified row and column indicies
public InvalidateCell ( int row, int column ) : void
row int The row index of the Cell to be invalidated
column int The column index of the Cell to be invalidated
리턴 void

InvalidateRect() 공개 메소드

Invalidates the given Rectangle
public InvalidateRect ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

InvalidateRow() 공개 메소드

Invalidates the Row located at the specified CellPos
public InvalidateRow ( CellPos cellPos ) : void
cellPos CellPos A CellPos that specifies the Row to be invalidated
리턴 void

InvalidateRow() 공개 메소드

Invalidates the specified Row
public InvalidateRow ( Row row ) : void
row Row The Row to be invalidated
리턴 void

InvalidateRow() 공개 메소드

Invalidates the Row located at the specified row index
public InvalidateRow ( int row ) : void
row int The row index of the Row to be invalidated
리턴 void

IsCellEditable() 공개 메소드

Returns whether the Cell at the specified CellPos is able to be edited by the user
public IsCellEditable ( CellPos cellpos ) : bool
cellpos CellPos A CellPos that specifies the Cell to check
리턴 bool

IsCellEditable() 공개 메소드

Returns whether the Cell at the specified row and column is able to be edited by the user
public IsCellEditable ( int row, int column ) : bool
row int The row index of the Cell to check
column int The column index of the Cell to check
리턴 bool

IsCellEnabled() 공개 메소드

Returns whether the Cell at the specified CellPos is able to respond to user interaction
public IsCellEnabled ( CellPos cellpos ) : bool
cellpos CellPos A CellPos that specifies the Cell to check
리턴 bool

IsCellEnabled() 공개 메소드

Returns whether the Cell at the specified row and column is able to respond to user interaction
public IsCellEnabled ( int row, int column ) : bool
row int The row index of the Cell to check
column int The column index of the Cell to check
리턴 bool

IsInputKey() 보호된 메소드

Determines whether the specified key is a regular input key or a special key that requires preprocessing
protected IsInputKey ( Keys keyData ) : bool
keyData Keys One of the Keys values
리턴 bool

IsReservedKey() 보호된 메소드

Determines whether the specified key is reserved for use by the Table
protected IsReservedKey ( Keys key ) : bool
key Keys One of the Keys values
리턴 bool

IsValidCell() 보호된 메소드

Returns whether Cell at the specified cell position is not null
protected IsValidCell ( CellPos cellPos ) : bool
cellPos CellPos The position of the cell
리턴 bool

IsValidCell() 보호된 메소드

Returns whether Cell at the specified row and column indexes is not null
protected IsValidCell ( int row, int column ) : bool
row int The row index of the cell
column int The column index of the cell
리턴 bool

IsValidColumn() 공개 메소드

Returns whether a Column exists at the specified index in the Table's ColumnModel
public IsValidColumn ( int column ) : bool
column int The index of the column to check
리턴 bool

OnAfterPaintCell() 보호된 메소드

Raises the AfterPaintCell event
protected OnAfterPaintCell ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void

OnAfterPaintHeader() 보호된 메소드

Raises the AfterPaintHeader event
protected OnAfterPaintHeader ( PaintHeaderEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintHeaderEventArgs A PaintHeaderEventArgs that contains the event data
리턴 void

OnBeforePaintCell() 보호된 메소드

Raises the BeforePaintCell event
protected OnBeforePaintCell ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void

OnBeforePaintHeader() 보호된 메소드

Raises the BeforePaintHeader event
protected OnBeforePaintHeader ( PaintHeaderEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintHeaderEventArgs A PaintCellEventArgs that contains the event data
리턴 void

OnBeginEditing() 보호된 메소드

Raises the BeginEditing event
protected OnBeginEditing ( CellEditEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellEditEventArgs A CellEditEventArgs that contains the event data
리턴 void

OnBeginSort() 보호된 메소드

Raises the BeginSort event
protected OnBeginSort ( ColumnEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnEventArgs A ColumnEventArgs that contains the event data
리턴 void

OnBindingContextChanged() 보호된 메소드

Fires the BindingContextChanged event. Called when something has changed
protected OnBindingContextChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnCellAdded() 보호된 메소드

Raises the CellAdded event
protected OnCellAdded ( RowEventArgs e ) : void
e ZForge.Controls.XPTable.Events.RowEventArgs A RowEventArgs that contains the event data
리턴 void

OnCellButtonClicked() 보호된 메소드

Raises the CellButtonClicked event
protected OnCellButtonClicked ( CellButtonEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellButtonEventArgs A CellButtonEventArgs that contains the event data
리턴 void

OnCellCheckChanged() 보호된 메소드

Raises the CellCheckChanged event
protected OnCellCheckChanged ( CellCheckBoxEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellCheckBoxEventArgs A CellCheckChanged that contains the event data
리턴 void

OnCellClick() 보호된 메소드

Raises the CellClick event
protected OnCellClick ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellEventArgs that contains the event data
리턴 void

OnCellDoubleClick() 보호된 메소드

Raises the CellDoubleClick event
protected OnCellDoubleClick ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellEventArgs that contains the event data
리턴 void

OnCellGotFocus() 보호된 메소드

Raises the CellGotFocus event
protected OnCellGotFocus ( CellFocusEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellFocusEventArgs A CellFocusEventArgs that contains the event data
리턴 void

OnCellKeyDown() 보호된 메소드

Raises the CellKeyDown event
protected OnCellKeyDown ( CellKeyEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellKeyEventArgs A CellKeyEventArgs that contains the event data
리턴 void

OnCellKeyUp() 보호된 메소드

Raises the CellKeyUp event
protected OnCellKeyUp ( CellKeyEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellKeyEventArgs A CellKeyEventArgs that contains the event data
리턴 void

OnCellLostFocus() 보호된 메소드

Raises the CellLostFocus event
protected OnCellLostFocus ( CellFocusEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellFocusEventArgs A CellFocusEventArgs that contains the event data
리턴 void

OnCellMouseDown() 보호된 메소드

Raises the CellMouseDown event
protected OnCellMouseDown ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnCellMouseEnter() 보호된 메소드

Raises the CellMouseEnter event
protected OnCellMouseEnter ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnCellMouseHover() 보호된 메소드

Raises the CellHover event
protected OnCellMouseHover ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellEventArgs that contains the event data
리턴 void

OnCellMouseLeave() 보호된 메소드

Raises the CellMouseLeave event
protected OnCellMouseLeave ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnCellMouseMove() 보호된 메소드

Raises the CellMouseMove event
protected OnCellMouseMove ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnCellMouseUp() 보호된 메소드

Raises the CellMouseUp event
protected OnCellMouseUp ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnCellPropertyChanged() 보호된 메소드

Raises the CellPropertyChanged event
protected OnCellPropertyChanged ( CellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellEventArgs A CellEventArgs that contains the event data
리턴 void

OnCellRemoved() 보호된 메소드

Raises the CellRemoved event
protected OnCellRemoved ( RowEventArgs e ) : void
e ZForge.Controls.XPTable.Events.RowEventArgs A RowEventArgs that contains the event data
리턴 void

OnClick() 보호된 메소드

Raises the Click event
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnColumnAdded() 보호된 메소드

Raises the ColumnAdded event
protected OnColumnAdded ( ColumnModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnModelEventArgs A ColumnModelEventArgs that contains the event data
리턴 void

OnColumnModelChanged() 보호된 메소드

Raises the ColumnModelChanged event
protected OnColumnModelChanged ( TableEventArgs e ) : void
e ZForge.Controls.XPTable.Events.TableEventArgs An EventArgs that contains the event data
리턴 void

OnColumnPropertyChanged() 보호된 메소드

Raises the ColumnPropertyChanged event
protected OnColumnPropertyChanged ( ColumnEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnEventArgs A ColumnEventArgs that contains the event data
리턴 void

OnColumnRemoved() 보호된 메소드

Raises the ColumnRemoved event
protected OnColumnRemoved ( ColumnModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnModelEventArgs A ColumnModelEventArgs that contains the event data
리턴 void

OnDoubleClick() 보호된 메소드

Raises the DoubleClick event
protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnEditingCancelled() 보호된 메소드

Raises the EditingCancelled event
protected OnEditingCancelled ( CellEditEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellEditEventArgs A CellEditEventArgs that contains the event data
리턴 void

OnEditingStopped() 보호된 메소드

Raises the EditingStopped event
protected OnEditingStopped ( CellEditEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellEditEventArgs A CellEditEventArgs that contains the event data
리턴 void

OnEndSort() 보호된 메소드

Raises the EndSort event
protected OnEndSort ( ColumnEventArgs e ) : void
e ZForge.Controls.XPTable.Events.ColumnEventArgs A ColumnEventArgs that contains the event data
리턴 void

OnGotFocus() 보호된 메소드

Raises the GotFocus event
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnHeaderClick() 보호된 메소드

Raises the HeaderClick event
protected OnHeaderClick ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHeaderDoubleClick() 보호된 메소드

Raises the HeaderDoubleClick event
protected OnHeaderDoubleClick ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHeaderHeightChanged() 보호된 메소드

Raises the HeaderHeightChanged event
protected OnHeaderHeightChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnHeaderMouseDown() 보호된 메소드

Raises the HeaderMouseDown event
protected OnHeaderMouseDown ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHeaderMouseEnter() 보호된 메소드

Raises the HeaderMouseEnter event
protected OnHeaderMouseEnter ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHeaderMouseHover() 보호된 메소드

Raises the HeaderMouseHover event
protected OnHeaderMouseHover ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHeaderMouseLeave() 보호된 메소드

Raises the HeaderMouseLeave event
protected OnHeaderMouseLeave ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHeaderMouseMove() 보호된 메소드

Raises the HeaderMouseMove event
protected OnHeaderMouseMove ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHeaderMouseUp() 보호된 메소드

Raises the HeaderMouseUp event
protected OnHeaderMouseUp ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnHorizontalScroll() 보호된 메소드

Occurs when the Table's horizontal scrollbar is scrolled
protected OnHorizontalScroll ( object sender, ScrollEventArgs e ) : void
sender object The object that Raised the event
e System.Windows.Forms.ScrollEventArgs A ScrollEventArgs that contains the event data
리턴 void

OnKeyDown() 보호된 메소드

Raises the KeyDown event
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data
리턴 void

OnKeyUp() 보호된 메소드

Raises the KeyUp event
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data
리턴 void

OnLayout() 보호된 메소드

Raises the Layout event
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs A LayoutEventArgs that contains the event data
리턴 void

OnLostFocus() 보호된 메소드

Raises the LostFocus event
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnMouseDown() 보호된 메소드

Raises the MouseDown event
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnMouseHover() 보호된 메소드

Raises the MouseHover event
protected OnMouseHover ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnMouseLeave() 보호된 메소드

Raises the MouseLeave event
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnMouseMove() 보호된 메소드

Raises the MouseMove event
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnMouseUp() 보호된 메소드

Raises the MouseUp event
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnMouseWheel() 보호된 메소드

Raises the MouseWheel event
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnPaint() 보호된 메소드

Raises the Paint event
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
리턴 void

OnPaintBackground() 보호된 메소드

Raises the PaintBackground event
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
리턴 void

OnPaintBorder() 보호된 메소드

Paints the Table's border
protected OnPaintBorder ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
리턴 void

OnPaintCell() 보호된 메소드

Paints the Cell at the specified row and column indexes
protected OnPaintCell ( PaintEventArgs e, int row, int column, Rectangle cellRect ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
row int The index of the row that contains the cell to be painted
column int The index of the column that contains the cell to be painted
cellRect System.Drawing.Rectangle The bounding Rectangle of the Cell
리턴 void

OnPaintEmptyTableText() 보호된 메소드

Paints the message that is displayed when the Table doen't contain any items
protected OnPaintEmptyTableText ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
리턴 void

OnPaintGrid() 보호된 메소드

Paints the Table's grid
protected OnPaintGrid ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
리턴 void

OnPaintHeader() 보호된 메소드

Paints the Table's Column headers
protected OnPaintHeader ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
리턴 void

OnPaintRow() 보호된 메소드

Paints the Row at the specified index
protected OnPaintRow ( PaintEventArgs e, int row, Rectangle rowRect ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
row int The index of the Row to be painted
rowRect System.Drawing.Rectangle The bounding Rectangle of the Row to be painted
리턴 void

OnPaintRows() 보호된 메소드

Paints the Table's Rows
protected OnPaintRows ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
리턴 void

OnRowAdded() 보호된 메소드

Raises the RowAdded event
protected OnRowAdded ( TableModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.TableModelEventArgs A TableModelEventArgs that contains the event data
리턴 void

OnRowHeightChanged() 보호된 메소드

Raises the RowHeightChanged event
protected OnRowHeightChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

OnRowPropertyChanged() 보호된 메소드

Raises the RowPropertyChanged event
protected OnRowPropertyChanged ( RowEventArgs e ) : void
e ZForge.Controls.XPTable.Events.RowEventArgs A RowEventArgs that contains the event data
리턴 void

OnRowRemoved() 보호된 메소드

Raises the RowRemoved event
protected OnRowRemoved ( TableModelEventArgs e ) : void
e ZForge.Controls.XPTable.Events.TableModelEventArgs A TableModelEventArgs that contains the event data
리턴 void

OnSelectionChanged() 보호된 메소드

Raises the SelectionChanged event
protected OnSelectionChanged ( SelectionEventArgs e ) : void
e ZForge.Controls.XPTable.Events.SelectionEventArgs A TableModelEventArgs that contains the event data
리턴 void

OnTableModelChanged() 보호된 메소드

Raises the TableModelChanged event
protected OnTableModelChanged ( TableEventArgs e ) : void
e ZForge.Controls.XPTable.Events.TableEventArgs An EventArgs that contains the event data
리턴 void

OnVerticalScroll() 보호된 메소드

Occurs when the Table's vertical scrollbar is scrolled
protected OnVerticalScroll ( object sender, ScrollEventArgs e ) : void
sender object The object that Raised the event
e System.Windows.Forms.ScrollEventArgs A ScrollEventArgs that contains the event data
리턴 void

RaiseCellGotFocus() 보호된 메소드

Raises the GotFocus event for the Cell at the specified position
protected RaiseCellGotFocus ( CellPos cellPos ) : void
cellPos CellPos The position of the Cell that gained focus
리턴 void

RaiseCellKeyDown() 보호된 메소드

Raises a KeyDown event for the Cell at the specified cell position
protected RaiseCellKeyDown ( CellPos cellPos, KeyEventArgs e ) : void
cellPos CellPos The position of the Cell
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data
리턴 void

RaiseCellKeyUp() 보호된 메소드

Raises a KeyUp event for the Cell at the specified cell position
protected RaiseCellKeyUp ( CellPos cellPos, KeyEventArgs e ) : void
cellPos CellPos The position of the Cell
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data
리턴 void

RaiseCellLostFocus() 보호된 메소드

Raises the LostFocus event for the Cell at the specified position
protected RaiseCellLostFocus ( CellPos cellPos ) : void
cellPos CellPos The position of the Cell that lost focus
리턴 void

RaiseCellMouseDown() 보호된 메소드

Raises a MouseDown event for the Cell at the specified cell position
protected RaiseCellMouseDown ( CellPos cellPos, MouseEventArgs e ) : void
cellPos CellPos The position of the Cell
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

RaiseCellMouseEnter() 보호된 메소드

Raises a MouseEnter event for the Cell at the specified cell position
protected RaiseCellMouseEnter ( CellPos cellPos ) : void
cellPos CellPos The position of the Cell
리턴 void

RaiseCellMouseLeave() 보호된 메소드

Raises a MouseLeave event for the Cell at the specified cell position
protected RaiseCellMouseLeave ( CellPos cellPos ) : void
cellPos CellPos The position of the Cell
리턴 void

RaiseCellMouseMove() 보호된 메소드

Raises a MouseMove event for the Cell at the specified cell position
protected RaiseCellMouseMove ( CellPos cellPos, MouseEventArgs e ) : void
cellPos CellPos The position of the Cell
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

RaiseCellMouseUp() 보호된 메소드

Raises a MouseUp event for the Cell at the specified cell position
protected RaiseCellMouseUp ( CellPos cellPos, MouseEventArgs e ) : void
cellPos CellPos The position of the Cell
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

RaiseHeaderMouseDown() 보호된 메소드

Raises a MouseDown event for the Column header at the specified colunm index position
protected RaiseHeaderMouseDown ( int index, MouseEventArgs e ) : void
index int The index of the column to recieve the event
e MouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

RaiseHeaderMouseEnter() 보호된 메소드

Raises a MouseEnter event for the Column header at the specified colunm index position
protected RaiseHeaderMouseEnter ( int index ) : void
index int The index of the column to recieve the event
리턴 void

RaiseHeaderMouseLeave() 보호된 메소드

Raises a MouseLeave event for the Column header at the specified colunm index position
protected RaiseHeaderMouseLeave ( int index ) : void
index int The index of the column to recieve the event
리턴 void

RaiseHeaderMouseMove() 보호된 메소드

Raises a MouseMove event for the Column header at the specified colunm index position
protected RaiseHeaderMouseMove ( int index, MouseEventArgs e ) : void
index int The index of the column to recieve the event
e MouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

RaiseHeaderMouseUp() 보호된 메소드

Raises a MouseUp event for the Column header at the specified colunm index position
protected RaiseHeaderMouseUp ( int index, MouseEventArgs e ) : void
index int The index of the column to recieve the event
e MouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

ResetMouseEventArgs() 공개 메소드

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code
public ResetMouseEventArgs ( ) : void
리턴 void

ResolveColspan() 보호된 메소드

Returns the position of the actual cell that renders to the given cell pos. This looks at colspans and returns the cell that colspan overs the given cell (if any)
protected ResolveColspan ( CellPos cellPos ) : CellPos
cellPos CellPos
리턴 CellPos

RowIndexAt() 공개 메소드

Returns the index of the Row at the specified client point
public RowIndexAt ( Point p ) : int
p Point The point of interest
리턴 int

RowIndexAt() 공개 메소드

Returns the index of the Row at the specified client coordinates
public RowIndexAt ( int x, int y ) : int
x int The client x coordinate of the Row
y int The client y coordinate of the Row
리턴 int

RowRect() 공개 메소드

Returns the bounding rectangle of the specified row in client coordinates
public RowRect ( Row row ) : Rectangle
row Row The row
리턴 System.Drawing.Rectangle

RowRect() 공개 메소드

Returns the bounding rectangle of the row at the specified index in client coordinates
public RowRect ( int row ) : Rectangle
row int The index of the row
리턴 System.Drawing.Rectangle

RowYDifference() 공개 메소드

Returns the difference in Y-coords between the tops of the two given rows. May return a negative.
public RowYDifference ( int row1, int row2 ) : int
row1 int Index of first row
row2 int Index of second row
리턴 int

Sort() 공개 메소드

Sorts the last sorted column opposite to its current sort order, or sorts the currently focused column in ascending order if no columns have been sorted
public Sort ( ) : void
리턴 void

Sort() 공개 메소드

Sorts the last sorted column opposite to its current sort order, or sorts the currently focused column in ascending order if no columns have been sorted
public Sort ( bool stable ) : void
stable bool Specifies whether a stable sorting method /// should be used to sort the column
리턴 void

Sort() 공개 메소드

Sorts the specified column opposite to its current sort order, or in ascending order if the column is not sorted
public Sort ( int column ) : void
column int The index of the column to sort
리턴 void

Sort() 공개 메소드

Sorts the specified column in the specified sort direction
public Sort ( int column, SortOrder sortOrder ) : void
column int The index of the column to sort
sortOrder SortOrder The direction the column is to be sorted
리턴 void

Sort() 공개 메소드

Sorts the specified column in the specified sort direction
public Sort ( int column, SortOrder sortOrder, bool stable ) : void
column int The index of the column to sort
sortOrder SortOrder The direction the column is to be sorted
stable bool Specifies whether a stable sorting method /// should be used to sort the column
리턴 void

Sort() 공개 메소드

Sorts the specified column opposite to its current sort order, or in ascending order if the column is not sorted
public Sort ( int column, bool stable ) : void
column int The index of the column to sort
stable bool Specifies whether a stable sorting method /// should be used to sort the column
리턴 void

StopEditing() 공개 메소드

Stops editing the current Cell and commits any changes
public StopEditing ( ) : void
리턴 void

Table() 공개 메소드

Initializes a new instance of the Table class with default settings
public Table ( ) : System
리턴 System

UpdateScrollBars() 공개 메소드

Updates the scrollbars to reflect any changes made to the Table
public UpdateScrollBars ( ) : void
리턴 void

VerticalScroll() 보호된 메소드

Scrolls the contents of the Table vertically to the specified value
protected VerticalScroll ( int value ) : void
value int The value to scroll to
리턴 void