[]
Represents the base canvas item for input field.
public abstract class InputFieldItem : CanvasItem, IDisposable, ICloneable, IBordered
internal class MyInputFieldItemClass : InputFieldItem
{
public MyInputFieldItemClass(CanvasType type, RectangleF bounds, string fieldName, bool readOnly, bool required, InputBorderStyle borderStyle, float borderWidth, Color borderColor) : base(type, bounds, fieldName, readOnly, required, borderStyle, borderWidth, borderColor)
{
}
public override CanvasItem Clone()
{
return new MyInputFieldItemClass(Type, Bounds, FieldName, ReadOnly, Required, BorderStyle, BorderWidth, BorderColor);
}
}
Name | Description |
---|---|
InputFieldItem(CanvasType) | Initializes an instance of class InputFieldItem. |
InputFieldItem(CanvasType, RectangleF, string, bool, bool, InputBorderStyle, float, Color) | Initializes an instance of class InputFieldItem. |
Name | Description |
---|---|
BorderColor | Gets the border color. |
BorderStyle | Gets the border style. |
BorderWidth | Gets the border width. |
Bounds | Gets the bounds of the item. |
FieldName | Gets the unique name of the field. |
Height | Gets the height of the inputFieldItem. |
Left | Gets the left position of the inputFieldItem. |
ReadOnly | Gets the read-only state. Prevents the user from changing the form field content. |
Required | Gets the required state. Forces the user to fill in the selected field. |
Top | Gets the top position of the inputFieldItem. |
Width | Gets the width of the inputFieldItem. |
Name | Description |
---|---|
PageOffset() | Gets the page offset. |