Solved

How to change magin busyindicator programatically?

Posted on 2012-03-14
1
195 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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