Is it possible to trigger Window Maximize/Minimize actions from code?

1 Answer 18 Views
Window
Alex
Top achievements
Rank 1
Iron
Iron
Alex asked on 31 Mar 2022, 08:54 PM | edited on 31 Mar 2022, 08:56 PM

For example, when the user clicks on a button inside (or outside) the Window, I maximize or minimize the Window. Something like window.Maximize();

The specific use case here is when the user loads data, I want to automatically maximize the Window for them. It is difficult for the user to find the maximize button because the window width becomes greater than the browser window and they have to drag the window to find the maximize button and click it.

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex
Top achievements
Rank 1
Iron
Iron
answered on 31 Mar 2022, 10:15 PM

I found out its possible to do by using the WindowState

https://docs.telerik.com/blazor-ui/components/window/size#maximize-and-minimize

Tags
Window
Asked by
Alex
Top achievements
Rank 1
Iron
Iron
Answers by
Alex
Top achievements
Rank 1
Iron
Iron
Share this question
or