I have a pretty basic question that I just can’t seem to figure out. I’m doing the following:
1) Create a new C# project. 2) Add a UserControl to the project. 3) Change the new class so it derives from Xceed.Grid.GridControl instead of UserControl. 4) Remove the line “this.AutoScale = System.Windows.Forms.AutoScaleMode.Font” from InitializeComponent(). 5) Build the project — success!
But now I can’t open a designer view of the new class! Visual Studio changes the node in the solution explorer to the general code icon instead of the user control icon. The subtype listed in the .csproj file is “Control”.
So how do I properly derive a C# class from GridControl while retaining designer support? I’m using VS2005 with Xceed Grid 3.0.6113.0.
Imported from legacy forums. Posted by Mike (had 1979 views)