Gallery/Gallery.Share/ViewModels/AboutViewModel.cs
2021-08-05 16:19:53 +08:00

19 lines
432 B
C#

using System;
using System.Windows.Input;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace Gallery.ViewModels
{
public class AboutViewModel : BaseViewModel
{
public AboutViewModel()
{
Title = "About";
OpenWebCommand = new Command(async () => await Browser.OpenAsync("https://aka.ms/xamarin-quickstart"));
}
public ICommand OpenWebCommand { get; }
}
}