15Dec
Posted by admin as .Net, C#, Silverlight
It is easy to change the color of a text inside TextBlock in Xaml. All you have to do is set the Foreground property to what ever color you like. for example
<TextBlock Foreground="Red" …
But it is not as trivial from the code behind. You have to create a new brush and set the color [...]
13Dec
Posted by admin as .Net, C#, Microsoft, Silverlight, Windows Phone
When you try to add more than one control to the Pivot or Panorama items while developing for Window Phone 7, you will receive an error similar to “error the property ‘Content’ is set more than once” even though you never did anything of that sort. This is because the PivotItem and PanoramaItem controls are [...]