Summary
Represents an object that can be queried for resources but does not appear in the logical tree.
- Namespace
- Avalonia
.Controls - Interfaces
- Implementing Types
graph BT
Type-.->Interface0["IResourceNode"]
click Interface0 "/api/Avalonia.Controls/IResourceNode"
Type["IResourceProvider"]
class Type type-node
Implementing0["Styles"]-.->Type
click Implementing0 "/api/Avalonia.Styling/Styles"
Implementing1["Style"]-.->Type
click Implementing1 "/api/Avalonia.Styling/Style"
Implementing2["FluentTheme"]-.->Type
click Implementing2 "/api/Avalonia.Themes.Fluent/FluentTheme"
Implementing3["ResourceDictionary"]-.->Type
click Implementing3 "/api/Avalonia.Controls/ResourceDictionary"
Implementing4["DefaultTheme"]-.->Type
click Implementing4 "/api/Avalonia.Themes.Default/DefaultTheme"
Implementing5["StyleInclude"]-.->Type
click Implementing5 "/api/Avalonia.Markup.Xaml.Styling/StyleInclude"
Implementing6["ResourceInclude"]-.->Type
click Implementing6 "/api/Avalonia.Markup.Xaml.MarkupExtensions/ResourceInclude"
Implementing7["IResourceDictionary"]-.->Type
click Implementing7 "/api/Avalonia.Controls/IResourceDictionary"
Implementing8["FluentControls"]-.->Type
click Implementing8 "/api/Avalonia.Themes.Fluent.Controls/FluentControls"
Syntax
public interface IResourceProvider : IResourceNode
Remarks
Events
Name | Type | Summary |
---|---|---|
OwnerChanged | EventHandler |
Raised when the
Owner of the resource provider changes.
|
Properties
Name | Value | Summary |
---|---|---|
Owner | IResourceHost? |
Gets the owner of the resource provider.
|
Methods
Name | Value | Summary |
---|---|---|
AddOwner |
void |
Adds an owner to the resource provider.
|
RemoveOwner |
void |
Removes a resource provider owner.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Get |
IObservable |