Enables rendering of double configuration properties
Supported Data Types
double
Scripted Extension Configuration XML
<property id="propertyId" labelResourceName="nameResource" descriptionResourceName="descriptionResource" dataType="double" template="double" inputType="number" min="" max="" step="" rangeTicks="0" rangeLabel="True" rangeLabelFormat="RawValue" />
Plugin Configuration C#
var property = new Property { Id = "propertyId", LabelResourceName = "nameResource", DescriptionResourceName = "descriptionResource", DataType = "double", Template = "double", Options = new NameValueCollection { { "inputType", "number" }, { "min", "" }, { "max", "" }, { "step", "" }, { "rangeTicks", "0" }, { "rangeLabel", "True" }, { "rangeLabelFormat", "RawValue" } } };
Options
Name | Description | Default | Options |
---|---|---|---|
inputType | Input type | number | number, range |
min | Minimum value accepted | ||
max | Maximum value accepted | ||
step | A stepping interval to use when using up and down arrows or range slider | ||
rangeTicks | When using a range, the number of ticks to render | 0 | |
rangeLabel | When using a range, whether or not to include a label indicating the current value | True | |
rangeLabelFormat | When using a range, the label value can be formatted | RawValue | RawValue, Percent |