![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Shadow effects Hi everyone, in what ways is it possible to add shadow effects to a rectangle in XAML? (what tag allows it? im using expressiondesigner, i don't know how to add it in there either, maybe its just a little hardcoding needed) Anybody who knows? Cesar |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Shadow effects Hi Cesar, Adding a drop-shadow effect to a Rectangle object using XAML can be accomplished as follows: <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Rectangle Width="60" Height="60" Stroke="Black" StrokeThickness="3"> <Rectangle.BitmapEffect> <DropShadowBitmapEffect Color="Black" Direction="240" ShadowDepth="5" Softness=".3" Opacity=".5"/> </Rectangle.BitmapEffect> </Rectangle> </Page> You can play with the DropShadowBitmapEffect properties to get different effects. Check the SDK for more help with this at: ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref34/html/T_System_Windows_Media_Effects_DropShadowBitmapEffect.htm I'm not sure how to accomplish this using ExpressionDesigner, I'll look into it and get back if I find out. -Shalini -------------------------- "CesarTabares" wrote: > Hi everyone, in what ways is it possible to add shadow effects to a rectangle > in XAML? (what tag allows it? im using expressiondesigner, i don't know how > to add it in there either, maybe its just a little hardcoding needed) > > Anybody who knows? > > Cesar |
My System Specs![]() |
| | #3 (permalink) |
| | RE: Shadow effects Following up on your question regarding how to add drop shadows (or bitmap effects in general) using ExpressionDesigner. There is currently no support for creating/editing a BitmapEffect object in ExpressionDesigner using the UI "Design" mode. You will need to go into "XAML" mode and add your BitmapEffects using XAML as I described in my last post. -Shalini --------------------------------------- "Shalini Aggarwal [MSFT]" wrote: > Hi Cesar, > > Adding a drop-shadow effect to a Rectangle object using XAML can be > accomplished as follows: > > <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" > xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> > > <Rectangle Width="60" Height="60" Stroke="Black" StrokeThickness="3"> > <Rectangle.BitmapEffect> > <DropShadowBitmapEffect Color="Black" > Direction="240" ShadowDepth="5" > Softness=".3" Opacity=".5"/> > </Rectangle.BitmapEffect> > </Rectangle> > </Page> > > You can play with the DropShadowBitmapEffect properties to get different > effects. Check the SDK for more help with this at: > ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref34/html/T_System_Windows_Media_Effects_DropShadowBitmapEffect.htm > > I'm not sure how to accomplish this using ExpressionDesigner, I'll look into > it and get back if I find out. > > -Shalini > > -------------------------- > "CesarTabares" wrote: > > > Hi everyone, in what ways is it possible to add shadow effects to a rectangle > > in XAML? (what tag allows it? im using expressiondesigner, i don't know how > > to add it in there either, maybe its just a little hardcoding needed) > > > > Anybody who knows? > > > > Cesar > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
Can't get rid of Vista Effects!! | General Discussion | |||
| Tansitions and effects | Vista music pictures video | |||