Exemplo n.º 1
0
 internal static HandleRef getCPtr(VisualState obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
        public VisualTransition FindTransition(VisualState from, VisualState to)
        {
            IntPtr cPtr = NoesisGUI_PINVOKE.VisualStateGroup_FindTransition(swigCPtr, VisualState.getCPtr(from), VisualState.getCPtr(to));

    #if UNITY_EDITOR || NOESIS_API
            if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
            {
                throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
            }
    #endif
            return((VisualTransition)Noesis.Extend.GetProxy(cPtr, false));
        }
Exemplo n.º 3
0
        public VisualTransition FindTransition(VisualState from, VisualState to)
        {
            IntPtr cPtr = NoesisGUI_PINVOKE.VisualStateGroup_FindTransition(swigCPtr, VisualState.getCPtr(from), VisualState.getCPtr(to));

            return((VisualTransition)Noesis.Extend.GetProxy(cPtr, false));
        }
     public void SetCurrentState(FrameworkElement fe, VisualState state)
     {
         NoesisGUI_PINVOKE.VisualStateGroup_SetCurrentState(swigCPtr, FrameworkElement.getCPtr(fe), VisualState.getCPtr(state));
 #if UNITY_EDITOR || NOESIS_API
         if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
         {
             throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
         }
 #endif
     }
Exemplo n.º 5
0
 public void SetCurrentState(FrameworkElement fe, VisualState state)
 {
     NoesisGUI_PINVOKE.VisualStateGroup_SetCurrentState(swigCPtr, FrameworkElement.getCPtr(fe), VisualState.getCPtr(state));
 }