How do I turn the borders off and on in my winform app? We are using WinFormManager for .NET framework 2.0.
Your welcome. :)
That's exactly what I needed! Thank you!
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;
this.FormBorderStyle = FormBorderStyle.None;
That was the first thing I tried. It doesn't work if you have an UltraFormManager controlling the other parts of the window layout.
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.Sizable;