Interface IUiSettings
Interface for UI settings, extending foundation settings.
Namespace: Serenity.Ui.Domain.Interfaces
Assembly: Serenity.Ui.Domain.dll
Syntax
public interface IUiSettings : IFoundationSettings
Properties
FloatIncrement
The increment step used when modifying float-type values in UI interactions.
Declaration
float FloatIncrement { get; }
Property Value
| Type | Description |
|---|---|
| float | The float increment step value. |
FontSizeKey
The key for the font size setting.
Declaration
string FontSizeKey { get; }
Property Value
| Type | Description |
|---|---|
| string | The key for the font size setting. |
FontSizePresets
Configurable font size presets mapping logical keys to base sizes.
Declaration
Dictionary<string, float> FontSizePresets { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, float> | A dictionary mapping preset keys to base font sizes. |
ScaleKey
The key for the UI scale setting.
Declaration
string ScaleKey { get; }
Property Value
| Type | Description |
|---|---|
| string | The key for the UI scale setting. |
Ui
The UI foundation or system in use (e.g., Unity UI, Unreal UMG).
Declaration
object Ui { get; }
Property Value
| Type | Description |
|---|---|
| object | The UI foundation or system as an object. |
UiThemeDefinition
The definition of the UI theme.
Declaration
IUiThemeDefinition UiThemeDefinition { get; }
Property Value
| Type | Description |
|---|---|
| IUiThemeDefinition | The UI theme definition. |