Table of Contents

Interface IEditBase

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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”/>

public interface IEditBase : IEnabledProvider
Inherited Members
Extension Methods

Properties

IsReadOnly

Indicates whether this field is read-only.

bool IsReadOnly { get; }

Property Value

bool

IsRequired

Indicates whether this field is mandatory.

bool IsRequired { get; }

Property Value

bool

MaxCharsInLine

The maximum number of characters allowed per line in this edit field.

uint MaxCharsInLine { get; }

Property Value

uint

Placeholder

The hint text that is displayed in the edit box until a value is entered into it.

string Placeholder { get; }

Property Value

string

Value

The current text in this field.

string Value { get; }

Property Value

string

Methods

SetValue(string)

Sets the text inside the edit box.

void SetValue(string text)

Parameters

text string

The text to be entered in the edit field.