Class RecipeModalDto
Recipe description of a single modal. Maps to a UnityModalSettings asset.
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public class RecipeModalDto
Constructors
RecipeModalDto()
Declaration
public RecipeModalDto()
Fields
alignment
Declaration
public string alignment
Field Value
| Type | Description |
|---|---|
| string | Content alignment, as a |
direction
Declaration
public string direction
Field Value
| Type | Description |
|---|---|
| string | Layout axis, as a |
id
Declaration
public string id
Field Value
| Type | Description |
|---|---|
| string | Stable logical identifier (becomes the asset's |
isTranslatingText
Declaration
public bool isTranslatingText
Field Value
| Type | Description |
|---|---|
| bool | Whether the body text is treated as a localization key. |
isTranslatingTitle
Declaration
public bool isTranslatingTitle
Field Value
| Type | Description |
|---|---|
| bool | Whether the title is treated as a localization key. |
options
Declaration
public RecipeUiOptionDto[] options
Field Value
| Type | Description |
|---|---|
| RecipeUiOptionDto[] | Modal options, built as |
optionsGap
Declaration
public float optionsGap
Field Value
| Type | Description |
|---|---|
| float | Gap between options. |
output
Declaration
public string output
Field Value
| Type | Description |
|---|---|
| string | Output path relative to |
scrollable
Declaration
public bool scrollable
Field Value
| Type | Description |
|---|---|
| bool | Whether overflowing options scroll. |
signalTypeName
Declaration
public string signalTypeName
Field Value
| Type | Description |
|---|---|
| string | Optional assembly-qualified signal type name the modal listens for. Passed through verbatim; a non-empty value that cannot be resolved produces a warning (the modal is still created). |
text
Declaration
public string text
Field Value
| Type | Description |
|---|---|
| string | Modal body text. |
title
Declaration
public string title
Field Value
| Type | Description |
|---|---|
| string | Modal title text. |
visibleOptionsCount
Declaration
public int visibleOptionsCount
Field Value
| Type | Description |
|---|---|
| int | Number of options visible before scrolling clamps; 0 disables clamping. |