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

RadWindow without Border

4 Answers 163 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mehri
Top achievements
Rank 1
Mehri asked on 15 Aug 2011, 09:24 AM
Hi
I'm using RadWindow as message box, I want to hide window border how can I do that?

Thanks in advance
Mehri

4 Answers, 1 is accepted

Sort by
0
Anders
Top achievements
Rank 2
answered on 16 Aug 2011, 10:05 AM
Try this

var myRadWindow = new RadWindow();
 myRadWindow.BorderThickness = new Thickness(0);
0
Mehri
Top achievements
Rank 1
answered on 17 Aug 2011, 05:28 AM
Thanks, but it didn't work for me :(
0
Anders
Top achievements
Rank 2
answered on 17 Aug 2011, 07:52 AM
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.
0
Dan
Top achievements
Rank 1
answered on 18 Dec 2013, 02:07 AM
That didn't work either.

    public partial class MainWindow
    {
        public MainWindow()
        {
            InitializeComponent();
            BorderBrush = null;
            BorderThickness = new Thickness(0);
       }
Tags
Window
Asked by
Mehri
Top achievements
Rank 1
Answers by
Anders
Top achievements
Rank 2
Mehri
Top achievements
Rank 1
Dan
Top achievements
Rank 1
Share this question
or