shadow for wpf forms
-
how can i set shadow for a wpf form (winxp) i want to design a startup form with shadow over desktop
for just the start up form, you can use a borderless window, then use a bitmap effect on the window root element. So if you root element was a Grid, you would apply the bitmap effect to the Grid. There is a good bit of example WPF code out there that explains creating a transparent, borderless (a window without chrome).
Cheers, Karl
» CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your ArticlesJust a grain of sand on the worlds beaches.
-
for just the start up form, you can use a borderless window, then use a bitmap effect on the window root element. So if you root element was a Grid, you would apply the bitmap effect to the Grid. There is a good bit of example WPF code out there that explains creating a transparent, borderless (a window without chrome).
Cheers, Karl
» CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your ArticlesJust a grain of sand on the worlds beaches.
-
this way is basic and not specified to wpf is there any new properties that make shadow for controls in wpf?
Yes. BitMap effect.
Cheers, Karl
» CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your ArticlesJust a grain of sand on the worlds beaches.