Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Using pathgeometry to make button.

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 03-15-2006   #1 (permalink)
viRtual
Guest


 

Using pathgeometry to make button.

I'm trying to use pathgeometry as button style but I can't specify
imagebrush as my background. I can change opacity and borderbrush but
background can't be changed. Can I change background when use
pathgeometry as button style?


My System SpecsSystem Spec
Old 03-17-2006   #2 (permalink)
weddewu@gmail.com
Guest


 

Re: Using pathgeometry to make button.

You can refrence below code:
<Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF">
<Path.Data>

<!-- Creates a composite shape from three geometries. -->
<GeometryGroup FillRule="EvenOdd">
<EllipseGeometry Center="40,70" RadiusX="30" RadiusY="30" />

<RectangleGeometry Rect="30,55 100 30" />
</GeometryGroup>
</Path.Data>
</Path>

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
disable lock button beside power button? george1 Vista General 2 06-12-2007 03:18 PM
How to get Photo gallery "make a movie" button open WMM 2.6? Funky Vista music pictures video 1 05-21-2007 06:33 PM
Make the "Add Gadgets" button less obvious intclass Vista General 3 12-21-2006 06:27 PM
Please make the CTRL button work with Explorer navigation =?Utf-8?B?Sm9zaA==?= Vista file management 0 09-14-2006 11:30 PM
How to make UI controls like button,TextBox 3d using XAML. Enigmatic Avalon 0 02-24-2006 04:11 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51