mirror of
https://github.com/amwx/FluentAvalonia.git
synced 2026-10-28 11:46:53 +08:00
22 lines
487 B
C#
22 lines
487 B
C#
using FluentAvaloniaSamples.Utilities;
|
|
|
|
namespace FluentAvaloniaSamples.ViewModels;
|
|
|
|
public class CommandBarFlyoutPageViewModel : ViewModelBase
|
|
{
|
|
public CommandBarFlyoutPageViewModel()
|
|
{
|
|
FlyoutCommands = new FACommand(Execute);
|
|
}
|
|
|
|
public FACommand FlyoutCommands { get; }
|
|
|
|
public void Execute(object @param)
|
|
{
|
|
LastAction = param.ToString();
|
|
RaisePropertyChanged(nameof(LastAction));
|
|
}
|
|
|
|
private string LastAction { get; set; }
|
|
}
|