Skip to content

MetroProgressBar / IsIndeterminate / Animation Warning 6 #2492

@ghost

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions