Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Visual Basic 2008 Essentials If you are new to Visual Basic programming with version 2008, this is the place to start your questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Essentials 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 September 12th, 2008, 11:08 AM
Registered User
 
Join Date: Sep 2008
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning VB 2008

I hve Wrox's book, Beginning Visual Basic 2008 and have just started the XAML section which shows how to create a WPF application. In part of the setup procedures, it states to place a border control and an image (jpg according to the instruction) inside of the border tag.

The part I can't get through is that the book advises to set a BitmapEffect property (of the border tag) to a certain value, but when I select the border tag in the XAML editor, BitmapEffect doesn't show up in the Properties panel.

Any ideas what I'm doing wrong?

Thanks in advance
Chris

 
Old September 22nd, 2009, 06:06 PM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Solved (sort of)

The way I solved it was by hand-typing the bitmapeffect property in the raw XAML code:

<Border HorizontalAlignment="Left" Margin="0,60,0,0" Name="Border1" VerticalAlignment="Top" Width="380" Height="200">
<Border.BitmapEffect>
<DropShadowBitmapEffect Opacity="0.5" ShadowDepth="8" Softness="1">
</DropShadowBitmapEffect>
</Border.BitmapEffect>
<Border.RenderTransform>
<SkewTransform CenterX="0" CenterY="0" AngleX="0" AngleY="-3">

</SkewTransform>
</Border.RenderTransform>
<Image Height="185" Name="Image1" Stretch="Fill" Width="300" Source="/CreditCard;component/CreditCard.jpg" />
</Border>




Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing from VB 2008 BroadwayLion Visual Basic 2008 Essentials 1 September 27th, 2008 12:02 PM
vb 2008 exsp Dracitus Visual Basic 2008 Professionals 2 September 27th, 2008 10:56 AM
why buy vs-2008 instead of vb-2008 jerryham VB.NET 7 September 2nd, 2008 02:39 PM
How do I write this vb 6 code to work in vb 2008? sanderson Visual Basic 2008 Essentials 3 June 10th, 2008 01:46 PM
Best SDK for Beginning Visual C++ 2008, I. Horton OakJim Visual C++ 0 June 7th, 2008 04:13 PM





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