SettingDefinition Properties |
The SettingDefinition type exposes the following members.
Name | Description | |
---|---|---|
CanBeEmpty |
Gets or sets a value indicating whether this instance can be the empty string. Only used with string based setting definitions.
Default is true.
| |
Category |
Gets or sets the category.
| |
Default |
Gets or sets the default value for the setting. Should be convertable to the type specified
| |
DefaultSource |
Gets or sets the name of the source to obtain the default value from. This name is the name of a setting instance.
| |
Description |
Gets or sets the description.
| |
EnumType |
Gets or sets the type instance of the enum type if Type is set to 'enum' and source is set to the name of the enum type instance.
| |
IsVisible |
Gets or sets a value indicating whether this setting is visible in the UI. Default is true. Set to false for settings which should be used
during code generation but shouldn't be editable by the user.
| |
Name |
Gets or sets the name.
| |
Source |
Gets or sets the name of the source for the values for this setting. If type is a string, this is a valuelist name
and if type is an enum, this is the enum type name. Can be empty
| |
TargetElement |
Gets or sets the target element for which this setting definition is to be used for.
| |
Type |
Gets or sets the type of the setting. This is a shortcut (string, bool, int, enum)
|