Enables rendering of boolean configuration properties
Supported Data Types
bool
Scripted Extension Configuration XML
<property id="propertyId" labelResourceName="nameResource" descriptionResourceName="descriptionResource" dataType="bool" template="bool" propertiesToShowWhenTrue="" propertiesToHideWhenTrue="" propertiesToShowWhenFalse="" propertiesToHideWhenFalse="" />
Plugin Configuration C#
var property = new Property
{
Id = "propertyId",
LabelResourceName = "nameResource",
DescriptionResourceName = "descriptionResource",
DataType = "bool",
Template = "bool",
Options = new NameValueCollection
{
{ "propertiesToShowWhenTrue", "" },
{ "propertiesToHideWhenTrue", "" },
{ "propertiesToShowWhenFalse", "" },
{ "propertiesToHideWhenFalse", "" }
}
};Options
| Name | Description | Default | Options |
|---|---|---|---|
| propertiesToShowWhenTrue | Comma-separated list of property IDs to show when this value is true. | ||
| propertiesToHideWhenTrue | Comma-separated list of property IDs to hide when this value is true. | ||
| propertiesToShowWhenFalse | Comma-separated list of property IDs to show when this value is false. | ||
| propertiesToHideWhenFalse | Comma-separated list of property IDs to hide when this value is false. |