Class EditorDescriptorRegistrationAttribute
Provides default editor settings for a class or property. These settings are applied first so specific attributes will override the settings from the editor descriptor.
Inheritance
Inherited Members
Namespace: EPiServer.Shell.ObjectEditing.EditorDescriptors
Assembly: EPiServer.Shell.dll
Version: 10.10.4Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class EditorDescriptorRegistrationAttribute : ServicePlugInAttributeBase, _Attribute, IServiceConfiguration
Constructors
EditorDescriptorRegistrationAttribute()
Initializes a new instance of the EditorDescriptorRegistrationAttribute class.
Declaration
public EditorDescriptorRegistrationAttribute()
Properties
EditorDescriptorBehavior
Gets or sets a value indicating whether the descriptors should be applied before this descriptor.
Declaration
public EditorDescriptorBehavior EditorDescriptorBehavior { get; set; }
Property Value
Type | Description |
---|---|
EditorDescriptorBehavior |
|
Remarks
This can be used if you want to have an editor descritor that only wants to change some of the default behaviour. Register an editor descriptor for a specific UI Hint and set this property to true and the default descriptors will be called before your descriptor.
TargetType
Gets or sets the editor descriptor type that you want to use.
Declaration
public Type TargetType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | The editor descriptor type. |
Remarks
The settings for the editor types can be overridden with the specific attributes on ClientEditorAttribute.
UIHint
Gets or sets the ui hint. It provides possibility to register different editors to a type with diffirent hints.
Declaration
public string UIHint { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ui hint. |