[This is preliminary documentation and is subject to change.]
The Column TRow, TValue type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Column TRow, TValue (Grid, String) | Initializes a new instance of the Column TRow, TValue class |
![]() | Column TRow, TValue (Grid, String, Int32) | Initializes a new instance of the Column TRow, TValue class |
Methods
Name | Description | |
---|---|---|
![]() | Configure | (Inherited from Column.) |
![]() | Destructor | (Inherited from Column.) |
![]() | DispatchCellSelection |
Dispatches appropriate events and performs row selection in the grid
(Inherited from Column.) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | GetCommentFromRow(Object) | (Overrides Column GetCommentFromRow(Object).) |
![]() | GetCommentFromRow(TRow) |
Returns comment for row
|
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | GetValueFromRow(Object) | (Overrides Column GetValueFromRow(Object).) |
![]() | GetValueFromRow(TRow) |
Returns value for specified row. Base implementation calls event handler
|
![]() | HasValueInRow(Object) | (Overrides Column HasValueInRow(Object).) |
![]() | HasValueInRow(TRow) |
Returns true when specified row has value. Base implementation calls event handler
|
![]() | MakeCellElementInstance |
Override to create instance of cell view specific to particular column and row
(Inherited from Column.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | OnCellSelection |
Invokes event
(Inherited from Column.) |
![]() | PersistConfiguration | (Inherited from Column.) |
![]() | RepositionTo |
Repositions this column in place of other
(Inherited from Column.) |
![]() | RepresentValueAsString |
Converts/formats cell object value as string so it can be painted. This implementation relies on FormatString.
Row instanced is also passed so formatting may be done per particular row state
Override to perform cell-specific conversions/formatting
(Inherited from Column.) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | ArbitraryData |
Handy field for attaching some business-related object to a column
(Inherited from Column.) |
![]() | GetComment |
Invoked to get comment value(if any) for the cell
|
![]() | GetHasValue |
Invoked to determine whether a row has data for this column
|
![]() | GetValue |
Invoked to extract data value from row
|
Properties
Name | Description | |
---|---|---|
![]() | DataType | (Overrides Column DataType.) |
![]() | Description |
Provides column description
(Inherited from Column.) |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | FieldIndex |
Returns field index - this may be handy for associating column in array position so
column accessors may read data from list/array by index for faster response times
(Inherited from Column.) |
![]() | FormatString |
Provides column formatting string
(Inherited from Column.) |
![]() | Grid | (Inherited from Column.) |
![]() | HasCellSelection |
Indicartes whether this column has selected cell
(Inherited from Column.) |
![]() | HeaderStyle |
Returns style for header cell in this column
(Inherited from Column.) |
![]() | ID |
Provides unique column ID
(Inherited from Column.) |
![]() | MinWidth |
Gets/sets columns minimum width
(Inherited from Column.) |
![]() | SelectedStyle |
Returns style for cell in this column for selected row
(Inherited from Column.) |
![]() | SortDirection |
Returns/Sets sort direction for this column.
Grid and column sorting must be allowed otherwise setting this property has no effect and get
always returns SortDirection.None
(Inherited from Column.) |
![]() | SortingAllowed |
Determines whether this column may be sorted by
(Inherited from Column.) |
![]() | Style |
Returns style for data cells in this column
(Inherited from Column.) |
![]() | Title |
Provides the title of the column. If title not set the column ID is returned
(Inherited from Column.) |
![]() | Visible |
Determines whether column is shown in grid
(Inherited from Column.) |
![]() | Width |
Gets/sets columns width
(Inherited from Column.) |
Events
Name | Description | |
---|---|---|
![]() | CellSelection |
Occurs when user select a cell that belongs to this column
(Inherited from Column.) |
See Also