ResourceNodeExtensions Class

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static class ResourceNodeExtensions
Inheritance
Object    ResourceNodeExtensions

Methods

FindResource(IResourceHost, Object) Finds the specified resource by searching up the logical tree and then global styles.
FindResource(IResourceHost, ThemeVariant, Object) Finds the specified resource by searching up the logical tree and then global styles.
GetResourceObservable(IResourceHost, Object, FuncObject, Object) 
GetResourceObservable(IResourceProvider, Object, FuncObject, Object) 
GetResourceObservable(IResourceProvider, Object, ThemeVariant, FuncObject, Object) 
TryFindResource(IResourceHost, Object, Object) Tries to the specified resource by searching up the logical tree and then global styles.
TryFindResource(IResourceHost, Object, ThemeVariant, Object) Tries to the specified resource by searching up the logical tree and then global styles.
TryGetResource(IResourceHost, Object, Object) Tries to find a resource within the object.

See Also