我必须在这里失去一个步骤。Silverlight 4,mvvm和工具包忙指标不起作用
<toolkit:BusyIndicator HorizontalAlignment="Center" VerticalAlignment="Center" Name="busyIndicator" IsBusy="{Binding BusyIndicator}">
<Grid Background="#FFE6F0FF" HorizontalAlignment="Left" VerticalAlignment="Top" >
我在我的视图模型如下:
private BusyIndicator _busyIndicator;
public BusyIndicator BusyIndicator
{
get { return _busyIndicator; }
set
{
if (_busyIndicator == value) return;
_busyIndicator = value;
OnNotifyPropertyChanged("BusyIndicator");
}
}
BusyIndicator = new BusyIndicator { IsBusy = true, BusyContent = "Please wait..." };
但是当我火我的异步调用WCF来,什么都没有显示出来?
完全忽略了这一点。谢谢! – PixelMuse