Maximization Event

4 posts, 0 answers
  1. Andrey Kipetcoff
    Andrey Kipetcoff avatar
    4 posts
    Member since:
    Jan 2010

    Posted 04 Aug 2013 Link to this post

    Hello, everybody.
    Sounds strange, but i can't find event of maximisation button of radform.
    I need to resize form content and i can't do it in maximisation mode. I created special method for resizing and it works when i resize form slowly by getting corner, but resizing events don't work after maximizing((
    Who knows how to solve this issue?
  2. Andrey Kipetcoff
    Andrey Kipetcoff avatar
    4 posts
    Member since:
    Jan 2010

    Posted 05 Aug 2013 Link to this post

    So, i found those event that i needed. This is SizeChanged. It's universal for corner resizing and maximizing. Strange that nobody answer something.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 07 Aug 2013 Link to this post

    Hello Andrey,

    Thank you for contacting Telerik Support.

    There is another option: if you are using a RadForm, you can subscribe for the MaximizeButton Click event which is fired before the actual resizing of the form and MaximumSizeChanged event.
    this.FormElement.TitleBar.MaximizeButton.Click += MaximizeButton_Click;

    private void MaximizeButton_Click(object sender, EventArgs e)
           {
               //put your resizing logic here
           }

    Please, have in mind that although we strive to address the forum threads of the users in good account standing within 72 hours (business days only), an answer in the forums is not guaranteed and if you want to get support from Telerik representative, please use our support ticketing system.

    I hope this information helps. Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. Andrey Kipetcoff
    Andrey Kipetcoff avatar
    4 posts
    Member since:
    Jan 2010

    Posted 08 Aug 2013 Link to this post

    Ok, thank you for answer.
Back to Top