Skip to main content

MergeResourceInclude Class

Loads a resource dictionary from a specified URL.

Definition

Namespace: Avalonia.Markup.Xaml.Styling
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)

public class MergeResourceInclude : ResourceInclude
View Source
InheritanceObjectResourceInclude → 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 ResourceInclude.

Constructors

MergeResourceInclude(IServiceProvider)Initializes a new instance of the MergeResourceInclude class
MergeResourceInclude(Uri)Initializes a new instance of the MergeResourceInclude class

Properties

LoadedGets the loaded resource dictionary.
(Inherited from ResourceInclude)
Owner
(Inherited from ResourceInclude)
SourceGets or sets the source URL.
(Inherited from ResourceInclude)

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)
TryGetResource(Object, ThemeVariant, Object)
(Inherited from ResourceInclude)

Events

OwnerChanged
(Inherited from ResourceInclude)

See Also

Reference

Avalonia.Markup.Xaml.Styling Namespace