FluentTheme Class

Summary

Includes the fluent theme in an application.
Namespace
Avalonia.Themes.Fluent
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IStyle"] click Interface0 "/api/Avalonia.Styling/IStyle" Type-.->Interface1["IResourceProvider"] click Interface1 "/api/Avalonia.Controls/IResourceProvider" Type-.->Interface2["IResourceNode"] click Interface2 "/api/Avalonia.Controls/IResourceNode" Type["FluentTheme"] class Type type-node

Syntax

public class FluentTheme : IStyle, IResourceProvider, IResourceNode

Constructors

Name Summary
FluentTheme(IServiceProvider) Initializes a new instance of the FluentTheme class.
FluentTheme(Uri) Initializes a new instance of the FluentTheme class.

Events

Name Type Summary
OwnerChanged EventHandler

Properties

Name Value Summary
Loaded IStyle
Gets the loaded style.
Mode FluentThemeMode
Gets or sets the mode of the fluent theme (light, dark).
Owner IResourceHost?

Methods

Extension Methods