DataColumn Class (Typed) |
Namespace: XSharp.VO.SDK
The DataColumn type exposes the following members.
Name | Description | |
---|---|---|
DataColumn |
Construct a data column.
|
Name | Description | |
---|---|---|
Alignment |
One of the following constants representing the alignment of this data column:
| |
Background |
The brush used for painting the background of this data column.
| |
Block |
A code block associated with the data column. If set, it is used to filter the data in/out of the data column.
| |
BlockOwner |
The owner of the code block associated with the data column. If a code block is assigned, this object will be called when the code block is evaluated. For an example, see DataColumn:Block.
| |
Caption |
A string representing the caption of this data column for use in its caption area.
| |
CellBackground |
The Brush object used to paint the background of a cell if DataColumn:EnableCellDraw has been called.
| |
CellTextColor |
The Color object used to paint the text in a cell if DataColumn:EnableCellDraw has been called.
| |
FieldSpec |
The FieldSpec object connected to this data column.
| |
HyperLabel |
The hyperlabel connected to this data column.
| |
Modified |
A logical value indicating whether the contents of the current row of this data column has been changed by the user since it was last set. TRUE indicates that it has changed (even if it has not yet been validated or has failed validation); FALSE indicates that it has not.
| |
Name |
A string representing the name of this data column.
| |
NameSym |
A symbol representing the name of this data column.
| |
Owner |
The data browser that owns this data column.
| |
Server |
The data server to which this data column is currently connected, if any.
| |
Status |
A hyperlabel that indicates the results of validations or recent actions to this data column.
| |
TextColor |
The text color to be used for the text area of this data column.
| |
TextValue |
A string representing the value held in the current row of this data column. Note that this string is formatted according to the picture clause held in the FieldSpec object inherited from the associated server field.
| |
Value |
The value held in the current row of this data column, in whatever data type is held in the FieldSpec object inherited from the associated server field.
| |
ValueChanged |
A logical value indicating whether the data column value has been changed to a "valid" value, since it was last set.
| |
VisualPos |
Returns the number of the data column with respect to its visual position within a data browser from left to right.
| |
Width |
The width of this data column in canvas coordinates.
|
Name | Description | |
---|---|---|
AsString |
Return the current value in the current row of this data column as a formatted string.
| |
ChangeBackground |
Set a new background brush for this data column.
| |
ChangeTextColor(Long, Long) | ||
ChangeTextColor(Color, Long) |
Set a new pen in a particular area of this data column.
| |
Destroy |
Provide a method to de-instantiate a DataColumn object.
(Overrides Destroy.) | |
EnableCellDraw |
Enable the painting of individual cells by registering a cell-painting method.
| |
EnableColumnMove |
Enable/disable whether the user can move (rearrange) this data column with the mouse. If the method is not called, the default behavior is determined by the data browser that owns this column.
| |
EnableColumnReSize |
Enable/disable whether the user can resize this data column with the mouse. If this method is not called, the default behavior is determined by the data browser that owns this column.
| |
GetModified |
Determine whether the value in column has been modified.
| |
GetValue |
Get the value of the current data column.
| |
LinkDF |
Connect a column to a field in a data server.
| |
PerformValidations |
Perform all the validations defined to this data column's field specification (for example, required, maximum and minimum digits, maximum and minimum value, validation rule) and return the result of the test.
| |
SetCaption |
Set the caption for the data column.
| |
SetModified |
Mark the current data column, signifying that it has been modified.
| |
SetStandardStyle |
Set the appearance of this data column's caption area.
| |
SetValue |
Set the value of the current data column.
|