IResourceNode Interface
Definition
Represents an object that can be queried for resources.
public interface IResourceNode
Remarks
The interface represents a common interface for both controls that host resources (Avalonia.Controls.IResourceHost) and resource providers such as Avalonia.Controls.ResourceDictionary (see Avalonia.Controls.IResourceProvider).
Methods
| Name | Description |
|---|---|
| TryGetResource | No summary available. |
TryGetResource Method
public bool TryGetResource(object key, Avalonia.Styling.ThemeVariant theme, object& value)
Parameters
key object
theme Avalonia.Styling.ThemeVariant
value object&
Returns
bool
Properties
| Name | Description |
|---|---|
| HasResources | Gets a value indicating whether the object has resources. |
HasResources Property
Gets a value indicating whether the object has resources.
public bool HasResources { get; set; }