How do I turn the borders off and on in my winform app? We are using WinFormManager for .NET framework 2.0.
Hello,
Are you trying to modify the borders of a particular Infragistics control? If all you would like is to make the form borderless or not you can use the FormBorderStyle enumeration like so by handling the form_load event,
this.FormBorderStyle = FormBorderStyle.None;
this.FormBorderStyle = FormBorderStyle.Sizable;
That was the first thing I tried. It doesn't work if you have an UltraFormManager controlling the other parts of the window layout.
The Form Manager controls the form's border.
The two requirements to achieve what you are looking for would be to set the form's FormDisplayStyle property to standard and the ultraformManager's formBorderStyle property to None.
this.ultraFormManager1.FormStyleSettings.FormDisplayStyle = Infragistics.Win.UltraWinToolbars.FormDisplayStyle.Standard;
That's exactly what I needed! Thank you!
Your welcome. :)