mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 08:00:16 -04:00
18 lines
386 B
C#
18 lines
386 B
C#
|
using Windows.UI.Xaml;
|
|||
|
using Windows.UI.Xaml.Controls;
|
|||
|
using Microsoft.Xaml.Interactivity;
|
|||
|
|
|||
|
namespace ModernKeePass.Actions
|
|||
|
{
|
|||
|
public class CloseFlyoutAction : DependencyObject, IAction
|
|||
|
{
|
|||
|
public object Execute(object sender, object parameter)
|
|||
|
{
|
|||
|
var flyout = sender as Flyout;
|
|||
|
flyout?.Hide();
|
|||
|
|
|||
|
return null;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|