/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/settings-ui/Settings.UI.Controls/QuickAccess/QuickAccessItem.cs
69 строк
2 KB
Shawn Yuan
Settings Flyout improvement (#43840)
07 янв 2026, 11:38
Не верифицирован
07 янв 2026, 11:38
9086995
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Windows.Input; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.UI.Xaml; namespace Microsoft.PowerToys.Settings.UI.Controls { public sealed class QuickAccessItem : Observable { private string _title = string.Empty; public string Title { get => _title; set => Set(ref _title, value); } private string _description = string.Empty; public string Description { get => _description; set => Set(ref _description, value); } private string _icon = string.Empty; public string Icon { get => _icon; set => Set(ref _icon, value); } private ICommand? _command; public ICommand? Command { get => _command; set => Set(ref _command, value); } private object? _commandParameter; public object? CommandParameter { get => _commandParameter; set => Set(ref _commandParameter, value); } private bool _visible = true; public bool Visible { get => _visible; set => Set(ref _visible, value); } private object? _tag; public object? Tag { get => _tag; set => Set(ref _tag, value); } } }