Interface IEditBase
Base interface for Web edit fields, such as, text field, text area, and editable input, such as number and range. HTML tag example: <input type=“text” value=“my first text field”/>
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public interface IEditBase : IEnabledProvider
Properties
IsReadOnly
Indicates whether this field is read-only.
Declaration
bool IsReadOnly { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsRequired
Indicates whether this field is mandatory.
Declaration
bool IsRequired { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MaxCharsInLine
The maximum number of characters allowed per line in this edit field.
Declaration
uint MaxCharsInLine { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Placeholder
The hint text that is displayed in the edit box until a value is entered into it.
Declaration
string Placeholder { get; }
Property Value
| Type | Description |
|---|---|
| string |
Value
The current text in this field.
Declaration
string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
SetValue(string)
Sets the text inside the edit box.
Declaration
void SetValue(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to be entered in the edit field. |