public SampleFlyoutViewModel()
        {
            AccentColors = ThemeManager.Accents
                           .Select(a => new AccentColorMenuData {
                Name       = a.Name,
                ColorBrush = a.Resources["AccentColorBrush"] as Brush
            })
                           .ToList();
            var theme = ThemeManager.DetectAppStyle(Application.Current);

            _currentAccentColor = AccentColors.Single(accent => accent.Name == theme.Item2.Name);

            OkCommand     = new RelayCommand(OnOk, () => !HasErrors);
            CancelCommand = new RelayCommand(Close);
        }