Class ModalChangeOptionValueInput
Input data transfer object for changing a modal option value.
Inherited Members
Namespace: Serenity.Modal.Application.DTO
Assembly: Serenity.Modal.Application.dll
Syntax
public class ModalChangeOptionValueInput
Remarks
This DTO encapsulates the necessary information to change the value of a specific option in a modal dialog.
Constructors
ModalChangeOptionValueInput(string, int, UiOptionValue)
Initializes a new instance of the ModalChangeOptionValueInput class.
Declaration
public ModalChangeOptionValueInput(string modalId, int optionIndex, UiOptionValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | modalId | The ID of the modal containing the option. |
| int | optionIndex | The index of the option to change. |
| UiOptionValue | value | The new value for the option. |
Fields
ModalId
Declaration
public string ModalId
Field Value
| Type | Description |
|---|---|
| string | The ID of the modal containing the option. |
OptionIndex
Declaration
public int OptionIndex
Field Value
| Type | Description |
|---|---|
| int | The index of the option to change. |
Value
Declaration
public UiOptionValue Value
Field Value
| Type | Description |
|---|---|
| UiOptionValue | The new value for the option. |
Methods
ToString()
Returns a string representation of the ModalChangeOptionValueInput instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string representation of the instance. |