Wrox Programmer Forums
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 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 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.
Old May 18th, 2010, 06:43 PM
Authorized User
Join Date: May 2010
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..
Old September 26th, 2011, 12:56 PM
Registered User
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!

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 07: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 08:06 AM

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