We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9eb491 commit 6ae015dCopy full SHA for 6ae015d
1 file changed
src/Codebreaker.WPF/Helpers/VisualStateHelpers.cs
@@ -0,0 +1,7 @@
1
+namespace Codebreaker.WPF.Helpers;
2
+
3
+internal static class VisualStateHelpers
4
+{
5
+ public static bool GoToState(this FrameworkElement element, string visualStateName, bool useTransitions = true) =>
6
+ VisualStateManager.GoToElementState(element, visualStateName, useTransitions);
7
+}
0 commit comments