Interface IUiModalParameters
Interface representing the parameters for a UI modal component.
Namespace: Serenity.Modal.Application.Interfaces.Components
Assembly: Serenity.Modal.Application.dll
Syntax
public interface IUiModalParameters : IUiComponentParameters, IComponentParameters, IFoundationSettings
Properties
Alignment
Gets or sets the alignment type for the modal components.
Declaration
UiComponentAlignmentType Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| UiComponentAlignmentType | The alignment type for the modal components. |
Buttons
Gets or sets the list of buttons for the modal.
Declaration
List<IUiInteractable> Buttons { get; set; }
Property Value
| Type | Description |
|---|---|
| List<IUiInteractable> | The list of buttons for the modal. |
IsTranslatingText
Gets or sets whether the text content is being translated.
Declaration
bool IsTranslatingText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | True if the text content is being translated; otherwise, false. |
IsTranslatingTitle
Gets or sets whether the title is being translated.
Declaration
bool IsTranslatingTitle { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | True if the title is being translated; otherwise, false. |
SelectedButtonIndex
Gets or sets the index of the selected button.
Declaration
int SelectedButtonIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The index of the selected button. |
SerializedButtons
Gets or sets the serialized data for the buttons.
Declaration
List<SerializedComponentData> SerializedButtons { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SerializedComponentData> | The serialized data for the buttons. |
SignalTypeTemplate
Gets or sets the signal type template for the modal.
Declaration
EventDispatcherSignal SignalTypeTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| EventDispatcherSignal | The signal type template for the modal. |
Text
Gets or sets the text content for the modal.
Declaration
string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The text content for the modal. |
TextFontSize
Gets or sets the font size for the text content.
Declaration
float TextFontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| float | The font size for the text content. |
Title
Gets or sets the title for the modal.
Declaration
string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The title for the modal. |