Google SubramanyamRaju Xamarin & Windows App Dev Tutorials
Showing posts with label TextBlock. Show all posts
Showing posts with label TextBlock. Show all posts

Wednesday, 22 October 2014

WindowsPhone: How to programmatically set TextBlock Foreground color with HexColor /Color Codes (C#-XAML)

Introduction:

Hi Guys,HAPPY DIWALI TO YOU AND TO ALL YOUR FAMILY MEMBERS...!As a long time i wrote my previous article .Now i am back to write my next article ,Ok all right!
In this article i want share a simple tip for "How to programmatically set TextBlock Foreground color with Hex Color(Ex:#5490CC) in WindowsPhone "

Wednesday, 26 February 2014

Formatted text in a TextBlock in Windows Phone C#

You can also display a series of strings in a TextBlock, where each string has a different formatting. You can do this by using a Run element to display each string with its formatting and by separating each Run element with a LineBreak element.
The following XAML shows how to define several differently formatted text strings in a TextBlock by using Run objects separated with a LineBreak.

Monday, 2 December 2013

Working with both TextWrapping&TextTrimming at a time in WindowsPhone c#,xaml

Introduction

In windowsphone TextTrimming property has no effect unless the TextWrapping property is set to NoWrap.Both TextWrap and TextTrimming properties works if and only if we set the height & width on our textblock. Yes it is very important to set height&width of textblock while we attempting both properties at a time.

Search Engine Submission - AddMe