Interface IUiShowModalParameters
Interface representing the parameters for showing a UI modal.
Namespace: Serenity.Modal.Application.Interfaces.Components
Assembly: Serenity.Modal.Application.dll
Syntax
public interface IUiShowModalParameters
Properties
Alignment
Gets or sets the alignment of the modal content.
Declaration
UiComponentAlignmentType Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| UiComponentAlignmentType | The alignment of the modal content. |
Buttons
Gets or sets the list of buttons for the modal.
Declaration
List<SerializedComponentData> Buttons { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SerializedComponentData> | 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. |
SignalTypeName
Gets or sets the serialized name of the signal type associated with the modal.
Declaration
string SignalTypeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The assembly qualified name of the signal type. |
Text
Gets or sets the text content of the modal.
Declaration
string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The text content for the modal. |
Title
Gets or sets the title of the modal.
Declaration
string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The title for the modal. |
Methods
GetSignalInstance()
Gets the signal instance associated with the modal.
Declaration
EventDispatcherSignal GetSignalInstance()
Returns
| Type | Description |
|---|---|
| EventDispatcherSignal | An instance of EventDispatcherSignal or null if not set or invalid. |