Yes, it is possible to make any visible component editable in Form Designer.
Just do this.
1. declare your property grid just next all the other components
private System.Windows.Forms.PropertyGrid pg;
2. in the #region Windows Form Designer generated code,
in the
private void InitializeComponent()
create the PropertyGrid
this.pg = new System.Windows.Forms.PropertyGrid();
configure it and add to form or panel
this.property_panel.Controls.Add(this.pg);
Compile the application and open form in Form Editior.
You not only can size or move the Property Grid just like any other control,
you can change it properties in the Visual Studio Properties window.
|