StyleInclude Class

Summary

Includes a style from a URL.
Namespace
Avalonia.Markup.Xaml.Styling
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["StyleInclude"] class Type type-node

Syntax

public class StyleInclude : IStyle, IResourceProvider, IResourceNode

Constructors

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

Events

Name Type Summary
OwnerChanged EventHandler

Properties

Name Value Summary
Loaded IStyle
Gets the loaded style.
Owner IResourceHost?
Source Uri?
Gets or sets the source URL.

Methods

Extension Methods