RE: CSLA Silverlight BusyAnimation - Leaves "dead spot"if Visibility is not set to collapsed

RE: CSLA Silverlight BusyAnimation - Leaves "dead spot"if Visibility is not set to collapsed

Old forum URL: forums.lhotka.net/forums/t/7638.aspx


sergeyb posted on Wednesday, September 16, 2009

One simple solution is for you to bind Visibility to IsBusy yourself.  All you would need to do this is to have BooleanToVisibilityConverter to use as part of binding.

 

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: cds [mailto:cslanet@lhotka.net]
Sent: Tuesday, September 15, 2009 11:34 PM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] CSLA Silverlight BusyAnimation - Leaves "dead spot" if Visibility is not set to collapsed

 

I agree - I've experienced the same weird problem.

--
View this message online at: http://forums.lhotka.net/forums/thread/36345.aspx

RockfordLhotka replied on Wednesday, September 16, 2009

Yes, if there's anything I've learned from the past couple years of building XAML controls, it is that the less visual stuff the control does the better. Everything the control does "for you" restricts flexibility in the use of the control.

This is why the 3.8 PropertyStatus has the option of not controlling the target UI control's appearance, instead allowing you to bind the UI control's properties to properties on PropertyStatus. The variations people want to do often conflict, and rather than making PropertyStatus insanely complex, I'm just opening up the properties so binding can be used to accomplish many different visual models.

Copyright (c) Marimer LLC