ログインwpfフォームでMahAppsスピンコントロールを使用しようとしています。しかし、カリバーンバインディングは機能しませんでした。
<Controls:ProgressRing IsActive="{Binding Busy}" Grid.Row="6" Grid.Column="1" x:Name="Busy"/>
そして私のモデルは次のようなものを持っています
bool _busy;
public bool Busy
{
get
{
return _busy;
}
set
{
_busy = value;
NotifyOfPropertyChange(() => _busy);
}
}
public void Login(string username, string password)
{
try
{
Busy = true;
...
ただし、wpfフォームのスピンコントロールは表示されません
ありがとう