Solved

How to change magin busyindicator programatically?

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now