Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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?