/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Messages/CrossMonitorBandDropMessage.cs
27 строк
851 B
Michael Jolley
CmdPal: Enable cross-monitor drag-and-drop in dock edit mode (#47921)
18 май 2026, 14:46
Не верифицирован
18 май 2026, 14:46
d972564
Код
Авторство
О чём код?
// 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; namespace Microsoft.CmdPal.UI.ViewModels.Messages; /// <summary> /// Sent when a dock band is dropped onto a different monitor's dock. /// The source DockControl should remove the band from its ViewModel. /// </summary> public sealed class CrossMonitorBandDropMessage { public string BandId { get; } public string SourceMonitorDeviceId { get; } public CrossMonitorBandDropMessage(string bandId, string sourceMonitorDeviceId) { ArgumentNullException.ThrowIfNull(bandId); ArgumentNullException.ThrowIfNull(sourceMonitorDeviceId); BandId = bandId; SourceMonitorDeviceId = sourceMonitorDeviceId; } }