Interface IContextOverrideElement
Interface for any UI element that can override the current context of the UI.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public interface IContextOverrideElement
Properties
langOverride
The language to use in this part of the UI.
Declaration
Optional<string> langOverride { get; set; }
Property Value
Type | Description |
---|---|
Optional<string> |
layoutDirectionOverride
The layout direction to use in this part of the UI.
Declaration
OptionalEnum<Dir> layoutDirectionOverride { get; set; }
Property Value
Type | Description |
---|---|
OptionalEnum<Dir> |
preferredTooltipPlacementOverride
Preferred placement for tooltips.
Declaration
OptionalEnum<PopoverPlacement> preferredTooltipPlacementOverride { get; set; }
Property Value
Type | Description |
---|---|
OptionalEnum<PopoverPlacement> |
Remarks
Note that this is only a hint and the tooltip may be placed differently if there is not enough space.
scaleOverride
The scale to use in this part of the UI.
Declaration
Optional<string> scaleOverride { get; set; }
Property Value
Type | Description |
---|---|
Optional<string> |
themeOverride
The theme to use in this part of the UI.
Declaration
Optional<string> themeOverride { get; set; }
Property Value
Type | Description |
---|---|
Optional<string> |
tooltipDelayMsOverride
Delay in milliseconds before showing a tooltip.
Declaration
Optional<int> tooltipDelayMsOverride { get; set; }
Property Value
Type | Description |
---|---|
Optional<int> |