-
Notifications
You must be signed in to change notification settings - Fork 2.5k

Description
What steps will reproduce this issue?
Use MetroProgressBar in a ControlTemplate. (in my case containing a grid and that is containing the MetroProgressBar)
Bind Property IsIndeterminate to a boolean view model property.
Toggle the view model property.
Problem
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='40295706'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Controls.Grid'; TargetElement.HashCode='14546126'; TargetElement.Type='System.Windows.Controls.Grid'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Remove'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='40295706'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Controls.Grid'; TargetElement.HashCode='14546126'; TargetElement.Type='System.Windows.Controls.Grid'
Expected outcome
No warnings would be nice.
Environment
- MahApps.Metro v1.2.4.0
- Windows 10
- Visual Studio 2013 Update 5
- .NET Framework 4.5.1