How to Add Border to the Ellipse Control in Windows Phone 8 ?

Published on November 25, 2013 by abundantcode

Filed under Windows Phone

Last modified November 25, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 4009 times

Looking for an option to add border with a different color to the Ellipse Control in Windows Phone 8 ? Here’s a simple way to do it.

How to Add Border to the Ellipse Control in Windows Phone 8 ?

Assume that the Ellipse tag in the XAML is as shown below. The Ellipse has the background color “Chocolate”.

<Ellipse Height="52" Width="52" Fill="Chocolate"/>

We can just set the Stroke property with the appropriate color and specify the StrokeThickness and we are all set to get the border to the ellipse in Windows Phone 8 as shown below.

<Ellipse Height="52" Width="52" Fill="Chocolate" Stroke="Red" StrokeThickness="10">
</Ellipse>

How to Add Border to the Ellipse Control in Windows Phone 8 ?

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

How to delete user account from command line in Windows 10 ?

You can delete a user account from command line in Windows 10 using the net user command and specify...

How to add new user account from command line in Windows 10 ?

You can add a new user account in Windows 10 using command prompt using the net user command and pas...

How to open display settings from command line in Windows 10 ?

The display properties can be found in the settings app in Windows 10 which lets the users to config...