Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Using pathgeometry to make button.

 
 
Old 03-15-2006   #1 (permalink)
viRtual


 
 

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


 
 

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
 

Thread Tools


Similar Threads
Thread Forum
How to make taskbar button menus wider General Discussion
Can I make a F5 button in the toolbar Live Mail
How to get Photo gallery "make a movie" button open WMM 2.6? Vista music pictures video
Please make the CTRL button work with Explorer navigation Vista file management


Vista Forums 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 Ltd

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