Take the community feedback survey now.
AI OnAI Off
Take the community feedback survey now.
Something like this might work:
[EditorDescriptorRegistration(
EditorDescriptorBehavior = EditorDescriptorBehavior.ExtendBase,
TargetType = typeof(YourProperyType))]
public class YourEditorDescriptor : EditorDescriptor
{
public YourEditorDescriptor()
{
// Here you can set you editing class and so on
}
}
If I have created a custom Property class derived from one of the available Property base types, is there a way to specify a default Editor Descriptor for my property type, or do I now have to put the EditorDescriptor attribute on every content type property of this type?