Class UiSelectableParameters
Implementation of IUiSelectableParameters to hold parameters for UI selectable components.
Implements
Inherited Members
Namespace: Serenity.Ui.Application.Components
Assembly: Serenity.Ui.Application.dll
Syntax
public class UiSelectableParameters : UiInteractableComponentParameters, IUiComponentParameters, IUiSelectableParameters, IUiInteractableParameters, IComponentParameters, IFoundationSettings
Constructors
UiSelectableParameters()
Initializes a new instance of the UiSelectableParameters class with default values.
Declaration
public UiSelectableParameters()
UiSelectableParameters(int, ConfigurationEntry[], UiComponentValueType, bool)
Initializes a new instance of the UiSelectableParameters class with the specified parameters.
Declaration
public UiSelectableParameters(int selectedIndex, ConfigurationEntry[] selectableValues, UiComponentValueType valueType, bool isTranslatingValue)
Parameters
| Type | Name | Description |
|---|---|---|
| int | selectedIndex | The index of the selected value. |
| ConfigurationEntry[] | selectableValues | The array of selectable values. |
| UiComponentValueType | valueType | The type of values in the selectable component. |
| bool | isTranslatingValue | Whether the value is being translated. |
Fields
IsTranslatingValue
Declaration
public bool IsTranslatingValue
Field Value
| Type | Description |
|---|---|
| bool | Whether the value is being translated. |
SelectableValues
Declaration
public ConfigurationEntry[] SelectableValues
Field Value
| Type | Description |
|---|---|
| ConfigurationEntry[] | The array of selectable values. |
SelectedIndex
Declaration
public int SelectedIndex
Field Value
| Type | Description |
|---|---|
| int | The index of the selected value. |
ValueType
Declaration
public UiComponentValueType ValueType
Field Value
| Type | Description |
|---|---|
| UiComponentValueType | The type of values in the selectable component. |