Struct ApplicationContext
The ApplicationContext provides the current context of the application.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: solution.dll
Syntax
public struct ApplicationContext
Constructors
| Name | Description |
|---|---|
| ApplicationContext(ApplicationContext, ContextProvider) | Construct an ApplicationContext based on an other one, and overrides from a given ContextProvider. |
| ApplicationContext(Panel) | Construct an ApplicationContext based on an Panel instance. |
Properties
| Name | Description |
|---|---|
| closestProvider | The closest ContextProvider instance which overrides the current context. |
| lang | The current language.
|
| panel | The application instance which wraps the whole UI.
|
| preferredTooltipPlacement | The preferred placement of the tooltip. |
| scale | The current scale of the UI. Possible values are "medium" or "large". |
| theme | The current theme of the UI. Possible values are "dark" or "light". |
| tooltipDelayMs | The delay before the tooltip is displayed. |