protected override void BeforeAutoCreateEditors()
		{
			base.BeforeAutoCreateEditors();
			FontPreviewPropertyEditor preview = new FontPreviewPropertyEditor();
			preview.EditedType = this.EditedType;
			preview.Getter = this.GetValue;
			this.ParentGrid.ConfigureEditor(preview);
			this.AddPropertyEditor(preview);
			FontContentPropertyEditor content = new FontContentPropertyEditor();
			content.EditedType = this.EditedType;
			content.Getter = this.GetValue;
			content.Setter = this.SetValues;
			content.Hints = HintFlags.None;
			content.HeaderHeight = 0;
			content.HeaderValueText = null;
			content.PreventFocus = true;
			this.ParentGrid.ConfigureEditor(content);
			this.AddPropertyEditor(content);
			content.Expanded = true;
		}
Beispiel #2
0
        protected override void BeforeAutoCreateEditors()
        {
            base.BeforeAutoCreateEditors();
            FontPreviewPropertyEditor preview = new FontPreviewPropertyEditor();

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

            content.EditedType      = this.EditedType;
            content.Getter          = this.GetValue;
            content.Setter          = this.SetValues;
            content.Hints           = HintFlags.None;
            content.HeaderHeight    = 0;
            content.HeaderValueText = null;
            content.PreventFocus    = true;
            this.ParentGrid.ConfigureEditor(content);
            this.AddPropertyEditor(content);
            content.Expanded = true;
        }