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

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
System.Object
System.Attribute
EditorDescriptorRegistrationAttribute
Implements
System.Runtime.InteropServices._Attribute
Inherited Members
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.Equals(System.Object)
System.Attribute.GetHashCode()
System.Attribute.Match(System.Object)
System.Attribute.IsDefaultAttribute()
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
System.Attribute.TypeId
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.ObjectEditing.EditorDescriptors
Assembly: EPiServer.Shell.dll
Version: 10.10.4
Syntax
[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

true if the base descriptors should be applied before this descriptor; otherwise, false.

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.

Implements

System.Runtime.InteropServices._Attribute

Extension Methods