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(); } }
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)); }