<TextBlock Classes="h2">The ButtonSpinner control allows you to add button spinners to any element and then respond to the Spin event to manipulate that element.</TextBlock>
<TextBlock Margin="2" Classes="h2" TextWrapping="Wrap">Numeric up-down control provides a TextBox with button spinners that allow incrementing and decrementing numeric values by using the spinner buttons, keyboard up/down arrows, or mouse wheel.</TextBlock>
NotificationManager.Show(newNotificationViewModel(NotificationManager){Title="Hey There!",Message="Did you know that Avalonia now supports Custom In-Window Notifications?"});
NotificationManager.Show(newAvalonia.Controls.Notifications.Notification("Welcome","Avalonia now supports Notifications.",NotificationType.Information));
NotificationManager.Show(newAvalonia.Controls.Notifications.Notification("Error","Native Notifications are not quite ready. Coming soon.",NotificationType.Error));
NotificationManager?.Show(newNotificationViewModel(){Title="Hey There!",Message="Did you know that Avalonia now supports Custom In-Window Notifications?",NotificationManager=NotificationManager});
NotificationManager?.Show(newAvalonia.Controls.Notifications.Notification("Welcome","Avalonia now supports Notifications.",NotificationType.Information));
NotificationManager?.Show(newAvalonia.Controls.Notifications.Notification("Error","Native Notifications are not quite ready. Coming soon.",NotificationType.Error));
});
YesCommand=MiniCommand.Create(()=>
{
manager.Show(newAvalonia.Controls.Notifications.Notification("Avalonia Notifications","Start adding notifications to your app today."));
NotificationManager?.Show(newAvalonia.Controls.Notifications.Notification("Avalonia Notifications","Start adding notifications to your app today."));
});
NoCommand=MiniCommand.Create(()=>
{
manager.Show(newAvalonia.Controls.Notifications.Notification("Avalonia Notifications","Start adding notifications to your app today. To find out more visit..."));
NotificationManager?.Show(newAvalonia.Controls.Notifications.Notification("Avalonia Notifications","Start adding notifications to your app today. To find out more visit..."));