Application Properties
Properties
ActualThemeVariant | Gets the UI theme that is currently used by the element, which might be different than the RequestedThemeVariantProperty. |
ApplicationLifetime | Application lifetime, use it for things like setting the main window and exiting the app from code Currently supported lifetimes are: - IClassicDesktopStyleApplicationLifetime - ISingleViewApplicationLifetime - IControlledApplicationLifetime - IActivatableApplicationLifetime |
Current | Gets the current instance of the Application class. |
DataContext | Gets or sets the Applications's data context. |
DataTemplates | Gets or sets the application's global data templates. |
InheritanceParent | Gets or sets the parent object that inherited AvaloniaProperty values are inherited from. (Inherited from AvaloniaObject) |
Item(AvaloniaProperty) | Gets or sets the value of a AvaloniaProperty. (Inherited from AvaloniaObject) |
Item(IndexerDescriptor) | Gets or sets a binding for a AvaloniaProperty. (Inherited from AvaloniaObject) |
Name | Application name to be used for various platform-specific purposes |
PlatformSettings | Represents a contract for accessing global platform-specific settings. |
RequestedThemeVariant | Gets or sets the UI theme variant that is used by the control (and its child elements) for resource determination. The UI theme you specify with ThemeVariant can override the app-level ThemeVariant. |
Resources | Gets the application's global resource dictionary. |
Styles | Gets the application's global styles. |