You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
651 B
23 lines
651 B
1 year ago
|
using FluentAvalonia.UI.Controls;
|
||
|
|
||
1 year ago
|
namespace StabilityMatrix.Avalonia.ViewModels.Base;
|
||
1 year ago
|
|
||
|
/// <summary>
|
||
|
/// An abstract class for enabling page navigation.
|
||
|
/// </summary>
|
||
|
public abstract class PageViewModelBase : ViewModelBase
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Gets if the user can navigate to the next page
|
||
|
/// </summary>
|
||
1 year ago
|
public virtual bool CanNavigateNext { get; protected set; }
|
||
1 year ago
|
|
||
|
/// <summary>
|
||
|
/// Gets if the user can navigate to the previous page
|
||
|
/// </summary>
|
||
1 year ago
|
public virtual bool CanNavigatePrevious { get; protected set; }
|
||
1 year ago
|
|
||
|
public abstract string Title { get; }
|
||
1 year ago
|
public abstract IconSource IconSource { get; }
|
||
1 year ago
|
}
|