/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Data/Models/ContextMenuFlyoutItemViewModel.cs
68 строк
2 KB
yair100
Code Quality: Created Action groups (#18270)
17 мар 2026, 06:00
Не верифицирован
17 мар 2026, 06:00
5c72304
Код
Авторство
О чём код?
// Copyright (c) Files Community // Licensed under the MIT License. using Microsoft.UI.Xaml.Input; using Microsoft.UI.Xaml.Media.Imaging; using System.Windows.Input; namespace Files.App.Data.Models { public sealed class ContextMenuFlyoutItemViewModel { public bool ShowItem { get; set; } = true; public ICommand Command { get; set; } public object CommandParameter { get; set; } public string Glyph { get; set; } public string GlyphFontFamilyName { get; set; } public string KeyboardAcceleratorTextOverride { get; set; } public string Text { get; set; } public object Tag { get; set; } public ContextMenuFlyoutItemType ItemType { get; set; } public Func<Task> LoadSubMenuAction { get; set; } public List<ContextMenuFlyoutItemViewModel> Items { get; set; } public BitmapImage BitmapIcon { get; set; } public bool ShowOnShift { get; set; } public bool SingleItemOnly { get; set; } public bool ShowInRecycleBin { get; set; } public bool ShowInSearchPage { get; set; } public bool ShowInFtpPage { get; set; } public bool ShowInZipPage { get; set; } public KeyboardAccelerator KeyboardAccelerator { get; set; } public bool IsChecked { get; set; } public bool IsEnabled { get; set; } = true; public string ID { get; set; } public bool IsPrimary { get; set; } public bool CollapseLabel { get; set; } public ThemedIconModel ThemedIconModel { get; set; } public bool ShowLoadingIndicator { get; set; } public bool IsHidden { get; set; } public string AccessKey { get; set; } = string.Empty; } }