我必須在這裏失去一個步驟。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