/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/settings-ui/Settings.UI.Library/GrabAndMoveSettings.cs
32 строки
1 KB
Gordon Lam
Add window positioning and sizing with Alt+mouse button (#47024)
15 апр 2026, 10:13
Не верифицирован
15 апр 2026, 10:13
e4f9889
Код
Авторство
О чём код?
// 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.Reflection; using System.Text.Json.Serialization; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Interfaces; namespace Microsoft.PowerToys.Settings.UI.Library { public class GrabAndMoveSettings : BasePTModuleSettings, ISettingsConfig { public const string ModuleName = "GrabAndMove"; public GrabAndMoveSettings() { Name = ModuleName; Version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); Properties = new GrabAndMoveProperties(); } [JsonPropertyName("properties")] public GrabAndMoveProperties Properties { get; set; } public string GetModuleName() => Name; public bool UpgradeSettingsConfiguration() => false; public ModuleType GetModuleType() => ModuleType.GrabAndMove; } }