Class DataItems<TVal>
Represents a data item with text and value properties.
Inheritance
System.Object
DataItems<TVal>
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class DataItems<TVal> : Object
Type Parameters
| Name | Description |
|---|---|
| TVal | The type of the value property. |
Constructors
DataItems()
Declaration
public DataItems()
Properties
Text
Gets or sets the text of the data item.
Declaration
public object Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | An object representing the display text. The default value is |
Value
Gets or sets the value of the data item.
Declaration
public TVal Value { get; set; }
Property Value
| Type | Description |
|---|---|
| TVal | A |