26 lines
561 B
C#
26 lines
561 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using Avalonia.Markup.Xaml;
|
|
using AvaloniaWebView;
|
|
using ReactiveUI;
|
|
using System;
|
|
|
|
namespace AvaloniaLinuxForm.ViewModels;
|
|
|
|
public class MainViewModel : ViewModelBase
|
|
{
|
|
private bool _canGoBack;
|
|
public bool CanGoBack
|
|
{
|
|
get => _canGoBack;
|
|
set => this.RaiseAndSetIfChanged(ref _canGoBack, value);
|
|
}
|
|
|
|
private bool _canGoForward;
|
|
public bool CanGoForward
|
|
{
|
|
get => _canGoForward;
|
|
set => this.RaiseAndSetIfChanged(ref _canGoForward, value);
|
|
}
|
|
}
|