Suppress fullscreen mode of window

1 Answer 74 Views
Window
Bernd
Top achievements
Rank 5
Bronze
Bronze
Bronze
Bernd asked on 16 Mar 2023, 11:31 AM

Hi.

I have achieved to hide the Fullscreen and Minimize buttons of the Window component but if I double click the title bar, the window still goes to fullscreen mode, even though I set the stage to "DEFAULT". How can I avoid that double clicking on the title bar goes to full screen mode?

Example here: https://stackblitz.com/edit/react-ccd1uy?file=app%2Fmain.tsx

Thanks!

Greetings,

Bernd

1 Answer, 1 is accepted

Sort by
1
Accepted
Konstantin Dikov
Telerik team
answered on 20 Mar 2023, 06:39 AM

Hi Bernd,

Thank you for contacting us.

The change in the stage from the double click in the title bar cab be controlled through the "doubleClickStageChange" property of the Window:

I have modified the example that you have shared by disabling the doubleClickStageChange property and it works correctly for preventing the stage change on double click:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Window
Asked by
Bernd
Top achievements
Rank 5
Bronze
Bronze
Bronze
Answers by
Konstantin Dikov
Telerik team
Share this question
or