Class PropertySettings<TModel>
Used to define a specific set of settings for a property, for instance the tools that should be available for an html editor.
Inherited Members
System.Object.ToString()
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.Core.PropertySettings
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public abstract class PropertySettings<TModel> : PropertySettings where TModel : IPropertySettings
Type Parameters
Name | Description |
---|---|
TModel | The type of the model. |
Constructors
PropertySettings()
Initializes a new instance of the PropertySettings<TModel> class.
Declaration
public PropertySettings()
Properties
SettingsType
Gets the type of the settings.
Declaration
public override Type SettingsType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the settings. |
Overrides
Methods
GetPropertySettings()
Gets the property settings.
Declaration
public virtual TModel GetPropertySettings()
Returns
Type | Description |
---|---|
TModel | The property settings |
Remarks
This will be called each time an editor is instantiated which makes it possible to customize the return value, for instance for different roles.
GetSettingsInternal()
Used to actually return the settings object from a base class.
Declaration
protected override IPropertySettings GetSettingsInternal()
Returns
Type | Description |
---|---|
IPropertySettings | The actual settings object used for a property. |