Skip to main content

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)

[NotClientImplementableAttribute]
public interface IResourceNode
View Source

Remarks

The interface represents a common interface for both controls that host resources (IResourceHost) and resource providers such as ResourceDictionary (see IResourceProvider).

Properties

HasResourcesGets a value indicating whether the object has resources.

Methods

TryGetResource(Object, ThemeVariant, Object)Tries to find a resource within the object.

See Also

Reference

Avalonia.Controls Namespace