Reader Level:

Image Based Text Effect in Windows Phone 7

By Ibrahim Ersoy on Feb 03, 2012
The Image based Text Effect can be used in XAML applications and is preferred for use in a Windows Phone 7 application.


In this article we will understand the Image based Text Effect on Windows Phone 7. Ever wonder how to add a gradient-like effect but as an image?

Let us see how to do that.

Step 1 : First of all we need to create a new project for Windows Phone 7 (I preferred that) import this image below in your application.

Google Buzz icon


Step 2 : In this step you need to add a label to your project.

Step 3 :
Now change its Foreground value to get the image we've imported above.


Step 4 : Change Stretch into UniformToFill to get a better view. Here's what we've achieved:


Hope its an useful trick for you :)

Ibrahim Ersoy
Ibrahim Ersoy

Ibrahim Ersoy helps running and managing C# Corner. He is a Software Consultant in Sharepoint field. He is also interested in Universal Apps, Nodejs, Javascript and mobility. He is also a 2 times C# Corner MVP.