This is a migrated thread and some comments may be shown as answers.

Turn off theme for RadPrintPreviewDialog

5 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex Dybenko
Top achievements
Rank 2
Alex Dybenko asked on 05 Aug 2016, 07:47 AM

Hi,

on one PC (win7), when RadPrintPreviewDialog  is maximized - there is a thick border around it, same effect with any RadForm. Is it possible to turn off theme for RadPrintPreviewDialog, so it looks like a basic .net form?

 

Thanks

Alex

5 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 05 Aug 2016, 01:21 PM
Hi Alex,

This is a known issue which is already resolved and the fix will be available in the next official release. The issue page contains a workaround for the current version: UI for Winforms Feedback Portal - FIX. RadForm - the form is clipped when maximized on Windows 7 with a disabled Aero.

You can just enable the aero as a workaround as well:
this.AllowTheming = true;

I hope this will be useful. 

Regards,
Dimitar
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
0
Alex Dybenko
Top achievements
Rank 2
answered on 05 Aug 2016, 01:34 PM

Hi Dimitar,

this.AllowTheming = true - this is workaround for RadForm, but do you have fix for print preview window?

 

Alex

 

0
Accepted
Hristo
Telerik team
answered on 08 Aug 2016, 02:09 PM
Hi Alex,

Thank you for writing back.

Could you please try also setting the AllowThemeing property of your RadPrintPreviewDialog instance to true? In case that does not help, you can try the workaround suggested in the feedback item.

Please note that instead of inheriting RadForm you would need to inherit the RadPrintPreviewDialog class. Then you can follow the suggested solution by overriding the CreateRootElement method and sticking to the implementation as shown in our feedback portal.

I hope this helps. Please let me know if you need further questions.

Regards,
Hristo Merdjanov
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
0
Alex Dybenko
Top achievements
Rank 2
answered on 10 Aug 2016, 07:54 AM

Hi Hristo,

AllowTheming works, but i can't press on window buttons on maximized window. Another workaround works fine!

Thanks

Alex

 

0
Hristo
Telerik team
answered on 10 Aug 2016, 01:46 PM
Hi Alexey,

I am glad that the workaround is working well in your project. The fix will publically available with our next official release scheduled for mid-September.

Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
Tags
General Discussions
Asked by
Alex Dybenko
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Alex Dybenko
Top achievements
Rank 2
Hristo
Telerik team
Share this question
or