I want to add windowControls top of panorma like this photo.
how can I do?
1 Answer, 1 is accepted
0
Ralitsa
Telerik team
answered on 28 Nov 2013, 08:16 AM
Hi Saeid,
Thank you for writing.
In order to achieve your goal, you need to follow these steps:
1. Add a RadForm
2. Add a RadPanorama and set the Dock property to Fill
3. Hide the default TitleBar of the RadForm. You can use this code snippet:
this.FormElement.TitleBar.MaxSize = new Size(0, 1);
4. Add a RadTitleBarElement in the panorama and subscribe for the Close, Minimize, MaximizeRestore events.
The image which you have sent is from our DemoHub application. You can find useful the PrepareTitleBar() method from our demo. The location where you can find it is: START >> All Programs >> Telerik >> RadControls for WinForms [version] >> Examples >> C# for Visual Studio 2010 >> Open C# DemoHub in Visual Studio - RadControls for WinForms.
Hope this will help you. Let me know if you have any other questions.
Regards,
Ralitsa
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>