Servus!
My SfBusyIndicator Control is not responding to changes in the binded Property (TwoWay Binding).
It is a boolean binded to the IsBusy Property. If i change it from false to true, nothing happens. I am currently using version 19.2.0.48.
<Notification:SfBusyIndicator Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="4"
ViewboxWidth="200" ViewboxHeight="200"
VerticalAlignment="Center" HorizontalAlignment="Center"
IsBusy="{Binding IsBusy, Mode=TwoWay}" />
Can anyone help me?
Dear Suganya,
i had a look in your Sample and there are several things, i really don't understand, why you have done this:
private void Button_Click(object sender, RoutedEventArgs e)
{ BusyBee.IsBusy = !BusyBee.IsBusy;}This has nothing to do with my Problem or even with MVVM :D
(Interestingly, nevertheless you are trying to bind to a boolean, but never use it.)
unfortunately i can't see any difference.
Here is my bool parameter with calling RaisePropertyChanged("IsBusy");.
public bool IsBusy{get { return _isBusy; }set{isBusy = value;RaisePropertyChanged("IsBusy"); }}You have called NotifyPropertyChanged(); in your code. I tried to change my Version with NotifyPropertyChanged(); and implemented the Method in ModelBase. But both Versions (RaisePropertyChanged/NotifyPropertyChanged) don't have any effect.
Setting IsBusy to "true" has no Effect for showing the control. I really don't know, what the problem could be.
Hello There again,
today i solved the problem, finally!
It had nothing to do with bindings, but with Threading and UI Blocking Threads.
Now i used the Dispatcher for handling some of the Code, now it works.
Unfortunately, now i have other Problems regarding the SfBusyIndicator. For that, i will open a new Forum-Thread. Thank you :)