/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/ItemsUpdatedEventArgs.cs
23 строки
704 B
Jiří Polášek
CmdPal: Prevent selection from overriding ListView scrolling (#49354)
21 июл 2026, 18:25
Не верифицирован
21 июл 2026, 18:25
bc32d42
Код
Авторство
О чём код?
// 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. namespace Microsoft.CmdPal.UI.ViewModels; public sealed partial class ItemsUpdatedEventArgs : EventArgs { public bool ForceFirstItem { get; } public bool EnsureSelectionVisible { get; } public ItemsUpdatedEventArgs(bool forceFirstItem) : this(forceFirstItem, ensureSelectionVisible: true) { } public ItemsUpdatedEventArgs(bool forceFirstItem, bool ensureSelectionVisible) { ForceFirstItem = forceFirstItem; EnsureSelectionVisible = ensureSelectionVisible; } }