2021-02-26 13:21:58 +02:00
|
|
|
|
// 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.
|
|
|
|
|
|
|
2023-09-11 13:54:06 +03:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
2021-02-26 13:21:58 +02:00
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PluginAdditionalOption
|
|
|
|
|
|
{
|
2023-09-11 13:54:06 +03:00
|
|
|
|
public enum SelectionType
|
|
|
|
|
|
{
|
|
|
|
|
|
Checkbox = 0,
|
|
|
|
|
|
Combobox = 1,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-02-26 13:21:58 +02:00
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string DisplayLabel { get; set; }
|
|
|
|
|
|
|
2022-03-21 13:47:09 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value to show a description of this setting in the settings ui. (Optional)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string DisplayDescription { get; set; }
|
|
|
|
|
|
|
2021-02-26 13:21:58 +02:00
|
|
|
|
public bool Value { get; set; }
|
2023-09-11 13:54:06 +03:00
|
|
|
|
|
|
|
|
|
|
public List<string> ComboBoxOptions { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public int Option { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public int SelectionTypeValue { get; set; }
|
2021-02-26 13:21:58 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|