Пример #1
0
 public static void SetVisualStateGroups(DependencyObject obj, VisualStateGroupCollection groups)
 {
     NoesisGUI_PINVOKE.VisualStateManager_SetVisualStateGroups(DependencyObject.getCPtr(obj), VisualStateGroupCollection.getCPtr(groups));
     if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
     {
         throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public static void SetVisualStateGroups(DependencyObject obj, VisualStateGroupCollection groups)
 {
     if (obj == null)
     {
         throw new ArgumentNullException("obj");
     }
     {
         NoesisGUI_PINVOKE.VisualStateManager_SetVisualStateGroups(DependencyObject.getCPtr(obj), VisualStateGroupCollection.getCPtr(groups));
     }
 }
 internal static HandleRef getCPtr(VisualStateGroupCollection obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public static void SetVisualStateGroups(DependencyObject obj, VisualStateGroupCollection groups)
 {
     NoesisGUI_PINVOKE.VisualStateManager_SetVisualStateGroups(DependencyObject.getCPtr(obj), VisualStateGroupCollection.getCPtr(groups));
 }