Recently we have started theme based styling of our application. But the styling requires that all the controls on the form should be of infragistics. I am facing major hurdles in converting System.Windows.Forms.SplitContainer in my form to splitter or some other suitable/ similar control. Also note that I am trying to achieve this in code dynamically.(since our designer no longer shows the UI correctly).
The sample
Hello Puneet,
I made small sample for you. Please take a look at the attached sample and video file for more details and if you have any questions, feel free to write me
Regards
If I add both the panels to the splitter controls then the splitter shows them combined on one side.
The default constructor is all mixed up and wrong and it is a legacy code. Also I am willing to code the same to convert it into a new one. For the splitcontainer we have added a few controls to its panel1 and some to panel2. If I create 2 new infragistics panels and assign those same controls to the panels. But how do I define which panel should be on left and which on the right in the splitter using the code
There is not easiest way to do this. You should replace your old code with the new one, but the interesting question is why you are not able to use the designer. Please give us more details about the issue with designer. I think that using the designer will be much easier and faster to do convert.
Let me know if you have any questions.