Class ClientEditorAttribute
Attribute to overwrite system's default editor. Can be applied to either classes or properties
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Shell.ObjectEditing
Assembly: EPiServer.Shell.dll
Version: 10.10.4Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false)]
public sealed class ClientEditorAttribute : Attribute, _Attribute
Constructors
ClientEditorAttribute()
Declaration
public ClientEditorAttribute()
Properties
ClientEditingClass
Gets or sets the client editing class, usually a DOJO widget.
Declaration
public string ClientEditingClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client editing class. |
ClientEditingPackage
Gets or sets the client editing class package, which needs to be required, usually a dojo package. Leave it empty if package name is the same to class name.
Declaration
public string ClientEditingPackage { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client editing class package. |
DefaultValue
Gets or sets the default binding value.
Declaration
public string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default binding value. |
EditorConfiguration
Gets or sets the editors initial configuration. Should be a string in JSON format. This will be passed to the editor class's constructor
Declaration
public string EditorConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.String | The editors configuration. |
LayoutClass
Gets or sets the layout class.
Declaration
public string LayoutClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The layout class. |
OverlayConfiguration
Gets or sets the configuration of the overlay. Should be a string in JSON format. This will be passed to the editor class's constructor
Declaration
public string OverlayConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.String | The overlays configuration. |
SelectionFactoryType
Gets or sets the type of the selection factory.
Declaration
public Type SelectionFactoryType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | The type of the selection factory. |