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

Border of RadPropertyGrid

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aurelien
Top achievements
Rank 1
Aurelien asked on 29 Jan 2013, 01:30 PM

This is the border of the RadPropertyGrid with Expression_DarkTheme :

http://img163.imageshack.us/img163/4715/capturemft.png 

I want to apply the same border at a Rectangle.

rect = new Rectangle();
rect.Stroke = Brushes.?;

But i don't know what brushes to use...

Thanks for your help !

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 01 Feb 2013, 03:23 PM
Hello,

This is the brush:

<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#FF595959" Offset="0"/>
                    <GradientStop Color="#FF595959" Offset="1"/>
                    <GradientStop Color="#FFA3A3A3" Offset="0.5"/>
                </LinearGradientBrush>
It can be found in the resources of Expression_Dark and its key is ControlOuterBorder 

Greetings,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Aurelien
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or