Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Silverlight 4
Silverlight 4 Discuss Microsoft Silverlight 4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Silverlight 4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 20th, 2011, 03:10 PM
Friend of Wrox
Join Date: Jun 2005
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
Default I am having some basic compile issues defining a BorderBrush.

I am having some basic compile issues defining a BorderBrush.

states that you define a borderbrush like this:

myBorder1 = new Border();
myBorder1.BorderBrush = Brushes.SlateBlue;

but in my code, when I try
border1.BorderBrush = Brushes.SlateBlue;
I get
Error 1 The name 'Brushes' does not exist in the current context
and I have included the namespace
as a "using" statement at the top of the file
as well as a Reference to the project.
What am I missing?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloaded Example NerdDinner compile and run issues Edward BOOK: Professional ASP.NET MVC 2 0 September 1st, 2010 06:31 PM
connection string issues, web.config file issues kaliaparijat ASP.NET 2.0 Professional 1 June 12th, 2008 08:07 AM
help with defining in the database derrida BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 April 14th, 2007 03:17 AM
Defining the Variables. dpkbahuguna Beginning VB 6 2 November 1st, 2006 12:40 PM
Two Basic Issues sg48 VS.NET 2002/2003 1 August 7th, 2003 07:54 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.