MahApps/MahApps.Metro — pull request #166 by csmacnz (2012-08-17 03:31:14+00:00)
Title: ProgressRing OneWay Binding Fix.

The Progress Ring IsActive Dependency Property didn't work when binding against a read-only(Mode=OneWay) property, it would never call the viewmodel, since the property was being set internally (This seems to disconnect OneWay Bindings).

This change allows OneWay Bindings to work correctly, by not changing the Dependency Property internally, but calling only the side-effect code directly instead.

To Reproduce:

Xaml:

ViewModel:

public bool IsDoingWork
{
get
{
//never called
return _isDoingWork;
}
}