Example #1
0
 protected override void BeforeAutoCreateEditors()
 {
     base.BeforeAutoCreateEditors();
     PixmapPreviewPropertyEditor preview = new PixmapPreviewPropertyEditor();
     preview.EditedType = this.EditedType;
     preview.Getter = this.GetValue;
     this.ParentGrid.ConfigureEditor(preview);
     this.AddPropertyEditor(preview);
     PixmapContentPropertyEditor content = new PixmapContentPropertyEditor();
     content.EditedType = this.EditedType;
     content.Getter = this.GetValue;
     content.Setter = this.SetValues;
     content.PreventFocus = true;
     this.ParentGrid.ConfigureEditor(content);
     this.AddPropertyEditor(content);
 }
Example #2
0
        protected override void BeforeAutoCreateEditors()
        {
            base.BeforeAutoCreateEditors();
            PixmapPreviewPropertyEditor preview = new PixmapPreviewPropertyEditor();

            preview.EditedType = this.EditedType;
            preview.Getter     = this.GetValue;
            this.ParentGrid.ConfigureEditor(preview);
            this.AddPropertyEditor(preview);
            PixmapContentPropertyEditor content = new PixmapContentPropertyEditor();

            content.EditedType   = this.EditedType;
            content.Getter       = this.GetValue;
            content.Setter       = this.SetValues;
            content.PreventFocus = true;
            this.ParentGrid.ConfigureEditor(content);
            this.AddPropertyEditor(content);
        }