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)
- C#
- VB
- F#
public class MergeResourceInclude : ResourceInclude
Public Class MergeResourceInclude
Inherits ResourceInclude
type MergeResourceInclude =
class
inherit ResourceInclude
end
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 ResourceInclude.
Constructors
MergeResourceInclude(IServiceProvider) | Initializes a new instance of the MergeResourceInclude class |
MergeResourceInclude(Uri) | Initializes a new instance of the MergeResourceInclude class |
Properties
Loaded | Gets the loaded resource dictionary. (Inherited from ResourceInclude) |
Owner | (Inherited from ResourceInclude) |
Source | Gets 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) |