Disable RadForm Border Thickness

6 posts, 0 answers
  1. Oliver
    Oliver avatar
    4 posts
    Member since:
    Jun 2011

    Posted 06 Nov 2013 Link to this post

    Hello,
    how can I completely disable the outer border (see attachement) of the RadForm Element in Visual Style Builder?
    I tried to set the BorderThickness to 0;0;0;0 of FormOuterBorder, FormInnerBorder and RadFormElement without success. I also tried to set Visibility to Collapsed, but it doesn't work.
    Thanks,
    Oliver
  2. George
    Admin
    George avatar
    500 posts

    Posted 11 Nov 2013 Link to this post

    Hello Oliver,

    Thank you for contacting us.

    You can set the opacity of the FormOuterBorder to 0. Please, refer to the attached image for more detailed explanation.

    I hope this helps.

    Regards,
    George
    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Stefaan
    Stefaan avatar
    2 posts
    Member since:
    Jan 2014

    Posted 09 Jan Link to this post

    Is it possible to do this at runtime?
  5. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 12 Jan Link to this post

    Hello Stefaan,

    Thank you for writing.

    The following snippet shows how you can hide the border at runtime:
    private void radButton1_Click(object sender, EventArgs e)
    {
        this.FormElement.Border.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
    }

    Let me know if I can assist you further.

    Regards,
    Dimitar
    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
  6. Stefaan
    Stefaan avatar
    2 posts
    Member since:
    Jan 2014

    Posted 12 Jan Link to this post

    Tried that code already , doesn't resolve the issue for me.
  7. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 14 Jan Link to this post

    Hi Stefaan,

    Thank you for writing back.

    It appears that you are using a custom theme and maybe this is why the border is still visible. I this case, I would recommend you to submit a support ticket where you can attach a small sample project that reproduces the issue. This will allow us to examine your precise case and provide you with a solution.

    Thank you for your understanding.

    Regards,
    Dimitar
    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
UI for WinForms is Visual Studio 2017 Ready