Skip to content

Commit 31e0dc6

Browse files
committed
Merge branch 'master' of https://github.com/jizc/MaterialDesignInXamlToolkit into jizc-master
2 parents 0a4e499 + ab48780 commit 31e0dc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MaterialDesignThemes.Wpf/ValidationAssist.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ public static void SetOnlyShowOnFocus(DependencyObject element, bool value)
4545

4646
public static bool GetUsePopup(DependencyObject element)
4747
{
48-
return (bool)element.GetValue(OnlyShowOnFocusProperty);
48+
return (bool)element.GetValue(UsePopupProperty);
4949
}
5050

5151
public static void SetUsePopup(DependencyObject element, bool value)
5252
{
53-
element.SetValue(OnlyShowOnFocusProperty, value);
53+
element.SetValue(UsePopupProperty, value);
5454
}
5555

5656
#endregion

0 commit comments

Comments
 (0)