View Source
Class TrueFalseConfiguration
Represents the configuration for the boolean value editor.
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class TrueFalseConfiguration
Properties
View Source
Default
Declaration
[ConfigurationField("default", "Initial State", "boolean", Description = "The initial state for the toggle, when it is displayed for the first time in the backoffice, eg. for a new content item.")]
public bool Default { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
LabelOff
Declaration
[ConfigurationField("labelOff", "Label Off", "textstring", Description = "Label text when disabled.")]
public string LabelOff { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
LabelOn
Declaration
[ConfigurationField("labelOn", "Label On", "textstring", Description = "Label text when enabled.")]
public string LabelOn { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ShowLabels
Declaration
[ConfigurationField("showLabels", "Show toggle labels", "boolean", Description = "Show labels next to toggle button.")]
public bool ShowLabels { get; set; }
Property Value
Type |
Description |
System.Boolean |
|