Files
PowerToys/src/settings-ui/Settings.UI.Library/PluginAdditionalOption.cs

35 lines
922 B
C#
Raw Normal View History

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.
using System.Collections.Generic;
2021-02-26 13:21:58 +02:00
namespace Microsoft.PowerToys.Settings.UI.Library
{
public class PluginAdditionalOption
{
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; }
/// <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; }
public List<string> ComboBoxOptions { get; set; }
public int Option { get; set; }
public int SelectionTypeValue { get; set; }
2021-02-26 13:21:58 +02:00
}
}