예제 #1
0
파일: Label.cs 프로젝트: pitetb/quizzapp
 public static void SetValueNoCallback(this DependencyObject obj, DependencyProperty property, object value)
 {
     ExtensionProperties.SetAreHandlersSuspended(obj, true);
     try
     {
         obj.SetValue(property, value);
     }
     finally
     {
         ExtensionProperties.SetAreHandlersSuspended(obj, false);
     }
 }
예제 #2
0
파일: Label.cs 프로젝트: pitetb/quizzapp
 public static bool AreHandlersSuspended(this DependencyObject obj)
 {
     return(ExtensionProperties.GetAreHandlersSuspended(obj));
 }