Overview
Input components are used to collect user input in forms. The UI Metadata Framework Basic package provides several built-in input component bindings for common data types.BooleanInputComponentBinding
Component binding for boolean input fields.The client-side component type identifier
The server-side C# type this component binds to
Usage
bool type is automatically mapped to the boolean component.
NumberInputComponentBinding
Component binding for numeric input fields. Supports multiple numeric types.The client-side component type identifier
Supported server-side C# types:
typeof(int)typeof(decimal)typeof(double)typeof(short)typeof(long)typeof(byte)
Usage
number component.
StringInputComponentBinding
Component binding for single-line text input fields.The client-side component type identifier
The server-side C# type this component binds to
Usage
TextareaValue
Input field type for multiline text.The value of the textarea input field
Usage
TextareaValue type is automatically mapped to the textarea component.
Password
Input field type for password fields. Password values are masked in the UI.The password value
Usage
Password type is automatically mapped to the password component.
DateTimeInputComponentBinding
Component binding for date and time input fields.The client-side component type identifier
The server-side C# type this component binds to
Usage
DropdownValue<T>
Input field type for dropdown selection components.The value representing the selected item
Properties
The client-side component type identifier
Configuration Attributes
TheDropdownValue<T> type requires configuration using attributes.
DropdownAttribute
The type that provides dropdown items. Must implement
IDropdownInlineSource or ITypeaheadRemoteSourceUsage
DropdownItem
Descriptive label for the item displayed to the user
Unique identifier for the item
IDropdownInlineSource
Interface for static dropdown data sources.Returns the list of items for the dropdown. This is assumed to be a static list that doesn’t change.
EnumSource<T>
Built-in inline source for enum values.TypeaheadValue<T>
Input field type for typeahead (autocomplete) components.The value representing the selected item
Properties
The client-side component type identifier
Configuration Attributes
TypeaheadAttribute
The type that provides typeahead items. Must implement
ITypeaheadRemoteSource or IDropdownInlineSourceUsage
TypeaheadItem<T>
Descriptive label for the item displayed to the user
Unique identifier for the item
ITypeaheadRemoteSource
Marker interface for remote typeahead data sources. Classes implementing this interface provide dynamic item lists based on user queries.MultiSelect<T>
Input field type for selecting multiple values.The list of selected items
Properties
The client-side component type identifier
Usage
Paginator
Input component for controlling pagination parameters of paginated data.Page number to retrieve. If null, the first page will be retrieved
Number of records to retrieve per page. If null, the default page size will be used
The name of the property by which results should be sorted
The sort order. Works in combination with
OrderBy. If null, no special order will be appliedProperties
The client-side component type identifier
This component is always hidden from the user interface
Usage
RemoteSourceArgumentAttribute
Configures parameters for remote sources (typeahead and dropdown with remote data).Name of the request parameter on the remote source
Name of the source from which to take the value for the parameter
Type of source specified by Source
Usage
CategoryId as a parameter.