コード例 #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));
     }
 }
コード例 #3
0
 internal static HandleRef getCPtr(VisualStateGroupCollection obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #4
0
 public static void SetVisualStateGroups(DependencyObject obj, VisualStateGroupCollection groups)
 {
     NoesisGUI_PINVOKE.VisualStateManager_SetVisualStateGroups(DependencyObject.getCPtr(obj), VisualStateGroupCollection.getCPtr(groups));
 }