Interface IUiThemeComponents
Interface for UI theme components.
Namespace: Serenity.Ui.Domain.Interfaces
Assembly: Serenity.Ui.Domain.dll
Syntax
public interface IUiThemeComponents
Properties
CascadeViewTemplate
Declaration
object CascadeViewTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for a cascade-menu panel (one navigable column/level). |
DropdownTemplate
Declaration
object DropdownTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for dropdown UI elements. |
HudElementTemplate
Declaration
object HudElementTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for one HUD element's text. Optional: the HUD falls back to the shared widget label and then to a bare text object, so it renders on a theme that has not been retrofitted. |
HudStyle
Declaration
object HudStyle { get; }
Property Value
| Type | Description |
|---|---|
| object | The theme's visual language for HUD elements — bar chrome, pip sprites, sizes, tints. This is what makes a HUD look like the theme rather than like whoever authored it; elements supply only the imagery that carries game-specific meaning. Optional: a built-in style applies when unset. |
InputTemplate
Declaration
object InputTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for rendering input fields. |
LeaderboardTemplate
Declaration
object LeaderboardTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for a leaderboard panel (rankings display). |
LoadingProgressTemplate
Declaration
object LoadingProgressTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for the gameplay loading-progress bar. |
ModalTemplate
Declaration
object ModalTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for modal dialogs. |
PrimaryInputPromptTemplate
Declaration
object PrimaryInputPromptTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for Primary Input Prompts. |
SelectableTemplate
Declaration
object SelectableTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for selectable UI elements. |
SlideableTemplate
Declaration
object SlideableTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for slideable UI elements. |
SubmittableTemplate
Declaration
object SubmittableTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for submittable UI elements. |
TitleTemplate
Declaration
object TitleTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for rendering titles. |
ToastTemplate
Declaration
object ToastTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for toast (transient notification) messages. |
ToggleableTemplate
Declaration
object ToggleableTemplate { get; }
Property Value
| Type | Description |
|---|---|
| object | Template for toggleable UI elements. |