Skip to main content

ResourceNodeExtensions Methods

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, Func(Object, Object)) 
GetResourceObservable(IResourceProvider, Object, Func(Object, Object)) 
GetResourceObservable(IResourceProvider, Object, ThemeVariant, Func(Object, 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

Reference

ResourceNodeExtensions Class
Avalonia.Controls Namespace