Musings
Public · Protected · Private
Basic Text in Silverlight
-
2009-12-07 01:32<TextBlock Text="Hello, World" FontSize="72" Fill="Red"> </TextBlock> <TextBlock Text="Hello, World" FontSize="72"> <TextBlock.Foreground> <SolidColorBrush Color="Red"/> </TextBlock.Foreground> </TextBlock>
-
2009-12-07 01:34<TextBlock Text="Hello, World" FontSize="72"> <TextBlock.Foreground> <LinearGradientBrush StartPoint="0,0" EndPoint="1,1"> <GradientStop Color="Blue" Offset="0"/> <GradientStop Color="Red" Offset="0.5"/> <GradientStop Color="Green" Offset="1"/> </LinearGradientBrush> </TextBlock.Foreground> </TextBlock> <TextBlock Text="Hello, World" FontSize="72"> <TextBlock.Foreground> <RadialGradientBrush> <GradientStop Color="Blue" Offset="0"/> <GradientStop Color="Red" Offset="0.5"/> <GradientStop Color="Green" Offset="1"/> </RadialGradientBrush> </TextBlock.Foreground> </TextBlock>
-
2009-12-07 01:40<MediaElement x:Name="theSource" Source="http://download.microsoft.com/download/d/f/7/df72b98c-6b4e-44b4-bb93-29527363c3be/WPFE_Celso_Gomes_Ch9.wmv"/> <TextBlock Text="Hello, World" FontSize="72"> <TextBlock.Foreground> <VideoBrush SourceName="theSource" Stretch="UniformToFill"/> </TextBlock.Foreground> </TextBlock>
This blog is frozen. No new comments or edits allowed.