Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7
This is the forum to discuss the Wrox book Beginning Microsoft Visual Basic 2008 by Thearon Willis, Bryan Newsome; ISBN: 9780470191347
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old April 19th, 2010, 06:18 AM
Registered User
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WPF Exercise pg192

I have been learning to program in VB but I have a problem

in the "Try It Out" on page 192 I have followed the steps and have even
started over, but when i get to step 7 where it says

"In the XAML Code Editor, click the Border element. In the properties window, change the BitmapEffect property to DropShadowBitmapEffect."

I can't seem to get this option, I have read all other treads but nothing seems to work and I am at a loss, can anyone HELP!!.

I am using Visual Studio 2008 with SP1 installed.
Reply With Quote
  #2 (permalink)  
Old May 18th, 2010, 06:43 PM
Authorized User
Join Date: May 2010
Location: Phoenix, AZ
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

In Visual Basic 2008 Professional
With the "Border" selected either in the Form Designer or in the XAML code, in the Properties, I noticed that there is a More Properties selection that is located below the Appearance properties group and above the Brushes properties group.

The More Properties expands up and down, and the BitmapEffect property is hidding inside of there.

In Visual Basic 2008 Express
It's not listed in the Properties for System.Windows.Controls.Border. Intellisense does show it while typing in the XAML editor.

Also, you might also try manually placing the following code that was produced on my system inside of the Border element of the XAML code section:

        <Border Height="200" HorizontalAlignment="Left" Margin="0,60,0,0" Name="Border1" VerticalAlignment="Top" Width="380">
          <DropShadowBitmapEffect Opacity="0.5" ShadowDepth="8" Softness="1" />
          <SkewTransform CenterX="0" CenterY="0" AngleX="0.5" AngleY="-3" />
      <Image Height="185" Name="Image1" Stretch="Fill" Width="300" Source="/CreditCardProjectName;component/CreditCard.jpg" />

Last edited by jbinarao; May 18th, 2010 at 09:02 PM.
Reply With Quote
  #3 (permalink)  
Old September 26th, 2011, 12:56 PM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Those looking for more information

Those looking for more information about generating WPF applications from scratch might want to check Charles Petzold's book "Applications = Code + Markup". Petzold tends to teach how to do things from scratch, and this one is no exception. There's a lot of benefits to knowing the XAML designer and project templates aren't magic, so I recommend it!
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
STA COM with WPF EyeOfThierry BOOK: WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4 2 April 14th, 2010 03:45 PM
Which is right for me now, asp,wpf or silverlight ysfkay ASP.NET 3.5 Professionals 0 December 4th, 2009 06:24 AM
WCF/WPF ashish_26 ASP.NET 3.5 Professionals 0 August 6th, 2009 05:41 AM
wpf+c#(kind help) vinothkumar124 Windows Presentation Foundation 0 December 16th, 2008 07:06 AM

All times are GMT -4. The time now is 11:12 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.