Turn off theme for RadPrintPreviewDialog

6 posts, 1 answers
  1. Alex Dybenko
    Alex Dybenko avatar
    119 posts
    Member since:
    Jan 2005

    Posted 05 Aug Link to this post

    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

  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 05 Aug Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alex Dybenko
    Alex Dybenko avatar
    119 posts
    Member since:
    Jan 2005

    Posted 05 Aug in reply to Dimitar Link to this post

    Hi Dimitar,

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

     

    Alex

     

  5. Answer
    Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 08 Aug Link to this post

    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.
  6. Alex Dybenko
    Alex Dybenko avatar
    119 posts
    Member since:
    Jan 2005

    Posted 10 Aug in reply to Hristo Link to this post

    Hi Hristo,

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

    Thanks

    Alex

     

  7. Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 10 Aug Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready