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

Prevent user from resizing window from top or left?

1 Answer 10 Views
Window
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 02 May 2019, 10:14 PM
I want the user to be able to resize my window but only from the bottom or right.I tried CanMove=False but it doesn't help. Is there any way to get a notification before the resize and prevent it from happening if it is from one of those edges?

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 07 May 2019, 01:19 PM
Hello Steve,

As the RadWindow control inherits its resizing logic from the standard WindowBase class, if your requirement is accomplishable with a standard MS Window, you will be able to cancel the resizing of the RadWindow as well.

With this said, however, I'm afraid I cannot think of a straightforward approach for achieving your requirement. What I can suggest is to forward your inquiry to the StackOverflow and MSDN forums to see if anyone can suggest a viable solution for the standard Window control.

I do apologize for not being able to assist you further. Should any other questions or concerns regarding our controls arise, though, I'd be more than happy to help you out further.

Regards,
Dilyan Traykov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Window
Asked by
Steve
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or