IResourceNode Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.
Represents an object that can be queried for resources.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface IResourceNode
<NotClientImplementableAttribute>
Public Interface IResourceNode
[<NotClientImplementableAttribute>]
type IResourceNode = interface end
Remarks
The interface represents a common interface for both controls that host resources (IResourceHost) and resource providers such as ResourceDictionary (see IResourceProvider).
Properties
HasResources | Gets a value indicating whether the object has resources. |
Methods
TryGetResource(Object, ThemeVariant, Object) | Tries to find a resource within the object. |