November Happy Hour will be moved to Thursday December 5th.

Class PropertyAppSettings

A property that creates a drop down list 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
PropertyAppSettings
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: 9.12.2
Syntax
[PropertyDefinitionTypePlugIn]
[EditorHint("AppSettings")]
public class PropertyAppSettings : PropertyString, IReadOnly<PropertyData>, IReadOnly
Examples

The settings should be defined like this in web.config:

Constructors

PropertyAppSettings()

Declaration
public PropertyAppSettings()

Methods

CreatePropertyControl()

Creates a new instance of PropertyAppSettingsControl.

Declaration
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.

Implements

Extension Methods