Files
Umbraco-CMS/src/Umbraco.Web/PropertyEditors/TrueFalseConfiguration.cs

17 lines
500 B
C#

using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents the configuration for the boolean value editor.
/// </summary>
public class TrueFalseConfiguration
{
[ConfigurationField("default", "Default Value", "boolean")]
public string Default { get; set; } // TODO: well, true or false?!
[ConfigurationField("labelOn", "Write a label text", "textstring")]
public string Label { get; set; }
}
}