Advanced Forum Search Results
-
Dude -what's up?
-
So we have the bug recorded but right now this will not be fix in any current minor update. Does this block you? Can you provide more details on your scenario?
thanks,
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is"
-
This appears to be a bug. I do recall during development that on the Mac different apps returns different values. For example, loading http://gizin.net/system.php on Safari vs FireFox on the Mac return different values.
I'll file a bug for this.
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is"
-
The designers do some magic with fonts so some design time behaviors might be incorrect. The correct syntax is to use the /<assembly shortname>;component/fontfilename syntax like you have: "/FontBug;component/LT_50331.TTF"
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is"
-
Correct. This is a slight difference in behavior than Silverlight 2. The TextBox template changed. You can create a new template based upon the Textbox template and modify the "ReadOnlyVisualElement" part to let more transparency come through.
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is"
-
Hey Koen – Yes this is a known bug in Silverlight 2. We have this bug fixed in Silverlight 3 Beta. The work around that some customers have done is to deobfuscate the font on the server. The bug is in the codepath that Silverlight determines if the font is an obfuscated font that fails on the Mac so if you deobfuscate the font on the server your ...
-
Silverlight 2 TextBlock will stop processing characters at the next word break if that word break is outside the bounds of the TextBlock's Width. In Silverlight all clipping is off by default. When the layout system was added we added layout enforced clipping. Canvas element does not participate in this layout enforced clipping.
Hope this ...
-
Put the following line at the top of the CS file:
using System.Windows.Input;
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is"
-
Yeah, get the ActualWidth/ActualHeight after setting all your text properties:
myTextBlock.MaxWidth = boxSize.Width*0.9;
myTextBlock.MaxHeight = boxSize.Height*0.9;
myTextBlock.Font*** = xxxx
myTextBlock.Text = ...
Size textBlockSize = new ...
-
Or just look at the OriginalSource attribute on the RoutedEventArgs class in your LostFocus event.
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is"