Click or drag to resize
SettingDefinition Properties

The SettingDefinition type exposes the following members.

Properties
  NameDescription
Public propertyCanBeEmpty
Gets or sets a value indicating whether this instance can be the empty string. Only used with string based setting definitions. Default is true.
Public propertyCategory
Gets or sets the category.
Public propertyDefault
Gets or sets the default value for the setting. Should be convertable to the type specified
Public propertyDefaultSource
Gets or sets the name of the source to obtain the default value from. This name is the name of a setting instance.
Public propertyDescription
Gets or sets the description.
Public propertyEnumType
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.
Public propertyIsVisible
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.
Public propertyLegacyDefault
Gets or sets the default value for the setting, if the targetframeworkholder container (e.g. the project) is set to use legacy defaults. Should be convertable to the type specified. The value of this property is equal to 'Default' if no legacydefault is defined in the frameworksettings file for this setting. If legacy defaults have to be used, this value is used as 'the default' in the SettingDefinition clone returned by the framework instance instead of the value 'Default'. Legacy defaults are used unless the targetframework is set to a new framework in the targetframeworkholder.
Public propertyName
Gets or sets the name.
Public propertySource
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
Public propertyTargetElement
Gets or sets the target element for which this setting definition is to be used for.
Public propertyType
Gets or sets the type of the setting. This is a shortcut (string, bool, int, enum)
Top
See Also