[]
Represnts a Field class to define a base field.
public abstract class Field : INamedObject
Public MustInherit Class Field
Implements INamedObject
This class will implement view function for single segment. And some input behavior will exposed to user, too. This is final interface for our user. When a field is created, it will create a segment and value module for it. Then configuration will be done on the segment and the value module.
Name | Description |
---|---|
BackColor | Gets or sets the background color of the Field. |
Focused | Gets a value indicating whether the Field has input focus. |
Font | Gets or sets the font of the Field. |
ForeColor | Gets or sets the foreground color of the Field. |
InputStatus | Gets the current input status of the Field. |
Margin | Gets or sets the space around the Field. |
Name | Gets or sets the name of the object. |
Padding | Gets or sets padding within the Field. |
SelectionLength | Gets the length of the selection. |
SelectionStart | Gets the selection start position. |
Size | Gets the size of the Field. |
Text | Gets text of the Field. |
Name | Description |
---|---|
CharPositionToX(int) | Converts the char position to x coordinate position. |
PointContainerToField(Point) | Computes the location of the specified container point into field coordinates. |
PointFieldToContainer(Point) | Computes the location of the specified field point into container coordinates. |
ResetFont() | Resets the Font property to default value. |
ResetForeColor() | Resets the ForeColor property to default value. |
XToCharPosition(int) | Converts the x coordinate position to char position. |