Class PropertyAppSettingsMultiple
A property that creates check boxes with options that are defined in the appSettings section in web.config. The name of the property should match the key for the app setting.
Inheritance
System.Object
PropertyAppSettingsMultiple
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[PropertyDefinitionTypePlugIn]
[EditorHint("AppSettingsMultiple")]
public class PropertyAppSettingsMultiple : PropertyMultipleValue, IReadOnly<PropertyData>, IReadOnly
Examples
The settings should be defined like this in web.config:
The settings should be defined like this in web.config:
Constructors
PropertyAppSettingsMultiple()
Declaration
public PropertyAppSettingsMultiple()
Methods
CreatePropertyControl()
Creates a new instance of PropertyAppSettingsControl.
Declaration
[Obsolete("Use IPropertyControlFactory to create property controls")]
public override IPropertyControl CreatePropertyControl()
Returns
Type | Description |
---|---|
IPropertyControl | An PropertyAppSettingsControl that is used to display a user interface for the property. |
Overrides
Remarks
It is possible to change which control should be used by registering a different IPropertyControl for the PropertyData class in EPiServer.Core.PropertyControlClassFactory.