Telerik UI for WinForms - borderless form (still sizeable)

4 posts, 0 answers
  1. Joachim
    Joachim avatar
    2 posts
    Member since:
    May 2015

    Posted 30 Jan Link to this post

    What feature of telerik UI for WinForms would be best utilized to create a borderless form?
    I am aware of placing panels and detecting mouse move, but is there anything telerik offers that would suite this purpose better?
  2. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 01 Feb Link to this post

    Hello,

    Thank you for writing.

    You could use a ShapedForm and make its border color transparent:
    ShapedForm f = new ShapedForm();
    f.BorderColor = Color.Transparent;
    f.Show();

    Then you could add a RadTitleBar to it and you will have a sizable form with invisible border.


    I hope that you find this information useful. 

    Regards,
    Stefan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Joachim
    Joachim avatar
    2 posts
    Member since:
    May 2015

    Posted 01 Feb in reply to Stefan Link to this post

    Oh. I see that does solve the problem pretty easily, I was already working on detecting all controls that was toutching the end (0,2 and (Width-2,Width) and then add an events of those components for resizing of a borderless form.

    Thank you.

  5. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 02 Feb Link to this post

    You are most welcome!

    Regards,
    Stefan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top