<SilverlightTooltip Number="001" Text=StrokeThickness="1"/>

I really like Sara Ford's Visual Studio Blog "Did You Know" ... giving out quick little useful Visual Studio tips.

It takes a quantity of time to produce a good-quality Article with all the bits in place. Even Tutorials are getting backed up :(

I see a real need for quick answers to things that folks are asking questions about, and every day I see Sara's postings, and it just struck me that those may be the answer on a couple levels.

I can post them quicker, so I can fill in around other things, particularly while I'm teaching for University of Phoenix when my time is tight, so this is the first of I hope many Silverlight Tooltips. Notice I started at "001" to give myself room :)

So for this first one, I'm doing a quick discussion about when StrokeThickness="1" isn't always "1":



Stay in the 'Light!

Silverlight Tagged Web Articles | Silverlight Articles | Silverlight Tutorials | Silverlight Tooltips | SilverlightCream

posted @ Saturday, October 13, 2007 5:01 PM

Print

Comments on this entry:

# re: &ltSilverlightTooltip Number="001" Text="StrokeThickness 1" /&gt

Left by Pete Brown at 10/14/2007 10:01 AM
Gravatar
The mini tutorials are a great idea. I’ve also enjoyed Silverlight Cream.

On the anti-aliasing issue, won’t SnapToDevicePixels = “True” handle that for you? Of course, the lines may not end up exactly where you want them (especially if you are animating the line and need subpixel precision), but the thickness should be correct.

# re: &ltSilverlightTooltip Number="001" Text="StrokeThickness 1" /&gt

Left by Dave at 10/14/2007 2:58 PM
Gravatar
Thanks for the kind comments, Pete... I'm definitely familiar with your site as well: http://www.irritatedvowel.com

You had me going for a bit there with the SnapToDevicePixels, but I've just searched the Silverlight 1.0 SDK and can't find that anywhere... there's not even any hits coming up starting with 'snap'.

I googled it, and I can see some references. I'm thinking that may be a WPF thing that didn't make it (yet) into Silverlight. I can't speak for 1.1 yet though... :)

Thanks for reading and commenting!

-Dave

Your comment:



 (will not be displayed)


 
 
 
Please add 3 and 6 and type the answer here:
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456