Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Essentials
Password Reminder
Register
| FAQ | Members List | 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 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

Reply With Quote
  #2 (permalink)  
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>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



All times are GMT -4. The time now is 08:14 PM.


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