Skip to main content

MergeResourceInclude Class

Definition​

Assembly:Avalonia.Markup.Xaml
Package:Avalonia

Loads a resource dictionary from a specified URL.

public class MergeResourceInclude

Inheritance: object -> ResourceInclude -> MergeResourceInclude

Remarks​

If used from the XAML code, it is merged into the parent dictionary in the compile time. When used in runtime, this type behaves like Avalonia.Markup.Xaml.Styling.ResourceInclude.

Constructors​

NameDescription
MergeResourceInclude (2 overloads)No summary available.

MergeResourceInclude overloads​

MergeResourceInclude Constructor​

public MergeResourceInclude(IServiceProvider serviceProvider)
Parameters​

serviceProvider IServiceProvider

MergeResourceInclude Constructor​

public MergeResourceInclude(Uri baseUri)
Parameters​

baseUri Uri

Methods​

NameDescription
TryGetResourceInherited from ResourceInclude.

Properties​

NameDescription
LoadedGets the loaded resource dictionary. Inherited from ResourceInclude.
OwnerInherited from ResourceInclude.
SourceGets or sets the source URL. Inherited from ResourceInclude.

Events​

NameDescription
OwnerChangedInherited from ResourceInclude.