Class UnityUiComposition
What the UI installation step publishes for the steps that build views on top of it: the canvas they parent to, the theme they style with, and the component factories they instantiate through.
Inherited Members
Namespace: Serenity.Ui.Infrastructure.Installation
Assembly: Serenity.UnityUi.Infrastructure.dll
Syntax
public class UnityUiComposition
Remarks
This lives here, and never on IUnityInstallationContext, because it names the component
factories this assembly declares. A typed context member could not: the context's assembly is the one
this assembly references, so naming these types there would close a reference cycle.
Constructors
UnityUiComposition()
Declaration
public UnityUiComposition()
Fields
BackgroundComponentFactory
Builds background components.
Declaration
public UnityUiBackgroundComponentFactory BackgroundComponentFactory
Field Value
| Type | Description |
|---|---|
| UnityUiBackgroundComponentFactory |
Canvas
The root canvas every top-level view is parented to.
Declaration
public Canvas Canvas
Field Value
| Type | Description |
|---|---|
| Canvas |
DropdownComponentFactory
Builds dropdown components.
Declaration
public UnityUiDropdownComponentFactory DropdownComponentFactory
Field Value
| Type | Description |
|---|---|
| UnityUiDropdownComponentFactory |
InitialViewId
The id of the view shown once installation finishes, or null when the project set none.
Declaration
public string InitialViewId
Field Value
| Type | Description |
|---|---|
| string |
InputComponentFactory
Builds text input components.
Declaration
public UnityUiInputComponentFactory InputComponentFactory
Field Value
| Type | Description |
|---|---|
| UnityUiInputComponentFactory |
SelectorComponentFactory
Builds selector components (left/right value pickers).
Declaration
public UnityUiSelectorComponentFactory SelectorComponentFactory
Field Value
| Type | Description |
|---|---|
| UnityUiSelectorComponentFactory |
SliderComponentFactory
Builds slider components.
Declaration
public UnityUiSliderComponentFactory SliderComponentFactory
Field Value
| Type | Description |
|---|---|
| UnityUiSliderComponentFactory |
SubmitComponentFactory
Builds submit components (buttons).
Declaration
public UnityUiSubmitComponentFactory SubmitComponentFactory
Field Value
| Type | Description |
|---|---|
| UnityUiSubmitComponentFactory |
Theme
The theme the installed UI resolved, or null when the project configured none.
Declaration
public IUiThemeDefinition Theme
Field Value
| Type | Description |
|---|---|
| IUiThemeDefinition |
ToggleComponentFactory
Builds toggle components (checkboxes).
Declaration
public UnityUiToggleComponentFactory ToggleComponentFactory
Field Value
| Type | Description |
|---|---|
| UnityUiToggleComponentFactory |
UiService
The installed UI service.
Declaration
public IUiService UiService
Field Value
| Type | Description |
|---|---|
| IUiService |