In This Article

BarsMvvmResources Class

Includes all of the resources for Actipro's Bars MVVM view models.

public class BarsMvvmResources : Styles, IAvaloniaList<IStyle>, IAvaloniaReadOnlyList<IStyle>, IStyle, IResourceProvider, IResourceNode
Inheritance:
object AvaloniaObject Styles object
Implements:
IAvaloniaList<IStyle> IAvaloniaReadOnlyList<IStyle> IStyle IResourceProvider IResourceNode

Constructors

BarsMvvmResources(IServiceProvider?)

Initializes an instance of the class.

public BarsMvvmResources(IServiceProvider? serviceProvider = null)
Parameter Type Description
serviceProvider IServiceProvider

The parent's service provider.

Methods

EnsureResourcesLoaded()

Ensures an instance of BarsMvvmResources is loaded and accessible through ModernTheme.

public static bool EnsureResourcesLoaded()

Returns

bool:

true if resources were already loaded or newly loaded; otherwise, false if resources could not be loaded (i.e., ModernTheme is unavailable).

Inherited Members

Extension Methods