MaterialDesignInXamlToolkit
MaterialDesignInXamlToolkit copied to clipboard
Badged control Badge property throws Exception with PropertyChanged
When I bind a property from a ViewModel to the Badge property of the Badged Control, it will throw an expection on the PropertyChanged Event.
<materialDesign:Badged Badge="{Binding EnqueuedDownloads}" />
Example binding property with Prism BindableBase
public int EnqueuedDownloads
{
get { return _enqueuedDownloads; }
set { SetProperty(ref _enqueuedDownloads, value); } <-- Crashes here
}
EnqueuedDownloads++; or EnqueuedDownloads += 1;
System.InvalidOperationException:
The name "BadgeScaleTransform" cannot be found in the namespace of "System.Windows.Controls.ControlTemplate"
Should be fixed by #660