Solved

How to change magin busyindicator programatically?

Posted on 2012-03-14
1
197 Views
Last Modified: 2012-03-16
I need to change the Margin of busyIndicator1 by program.
Like busyIndicator1.Margin = "0,300,0,0"; But it not accept value.

XAML
<toolkit:BusyIndicator Name="busyIndicator1" BusyContent="Aguarde..." IsBusy="False" Margin="0,300,0,0" />

Thanks
0
Comment
Question by:Plexo
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 37723228
If you are working with Silverlight, and XAML, then Margin is a Thickness class, which would be something like this:

busyIndicator.Margin = new Thickness(0, 300, 0, 0);

Open in new window

0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net - MemoryMappedFiles - Confirm receipt 2 24
Call Controller Action Method from ASPX 2 22
Adding items to a C# list incrementally 5 30
Visual Studio npm 1 11
IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question