Table of Contents

Class LookupItem

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

Represents an individual item entry within a data lookup or selection component.

public class LookupItem
Inheritance
LookupItem
Inherited Members
Extension Methods

Constructors

LookupItem(object, string, bool, DataRow)

Initializes a new instance of the LookupItem class with specified value identifiers and display text metrics.

public LookupItem(object Value, string DisplayText, bool IsNullItem = false, DataRow Row = null)

Parameters

Value object
DisplayText string
IsNullItem bool
Row DataRow

Properties

DisplayText

Gets the user-friendly descriptive title text label of the lookup item.

public string DisplayText { get; }

Property Value

string

IsNullItem

Gets a value indicating whether this entry represents a blank or null placeholder choice.

public bool IsNullItem { get; }

Property Value

bool

Row

Gets the complete original relational source data row context if available.

public DataRow Row { get; }

Property Value

DataRow

Value

Gets the unique underlying backend key or identifier value of the lookup item.

public object Value { get; }

Property Value

object

Methods

ToString()

Returns the descriptive display text representing the lookup item item.

public override string ToString()

Returns

string