IResourceNode Interface

Represents an object that can be queried for resources.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface IResourceNode

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.

See Also