RadWindow without Border

5 posts, 0 answers
  1. Mehri
    Mehri avatar
    17 posts
    Member since:
    Jun 2011

    Posted 15 Aug 2011 Link to this post

    Hi
    I'm using RadWindow as message box, I want to hide window border how can I do that?

    Thanks in advance
    Mehri
  2. Anders
    Anders avatar
    12 posts
    Member since:
    Apr 2011

    Posted 16 Aug 2011 Link to this post

    Try this

    var myRadWindow = new RadWindow();
     myRadWindow.BorderThickness = new Thickness(0);
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mehri
    Mehri avatar
    17 posts
    Member since:
    Jun 2011

    Posted 17 Aug 2011 Link to this post

    Thanks, but it didn't work for me :(
  5. Anders
    Anders avatar
    12 posts
    Member since:
    Apr 2011

    Posted 17 Aug 2011 Link to this post

    Okay try with

    myRadWindow.BorderBrush = null

    Now when I run my code, I don't have any border.
    If this still don't work, feel free to provide an image or small sample project.
  6. Dan
    Dan avatar
    2 posts
    Member since:
    Dec 2012

    Posted 17 Dec 2013 Link to this post

    That didn't work either.

        public partial class MainWindow
        {
            public MainWindow()
            {
                InitializeComponent();
                BorderBrush = null;
                BorderThickness = new Thickness(0);
           }
Back to Top
UI for WPF is Visual Studio 2017 Ready