public static void SetPanningMode(DependencyObject element, PanningMode panningMode) { NoesisGUI_PINVOKE.ScrollViewer_SetPanningMode(DependencyObject.getCPtr(element), (int)panningMode); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } }
public static void SetPanningMode(DependencyObject element, PanningMode panningMode) { if (element == null) { throw new ArgumentNullException("element"); } { NoesisGUI_PINVOKE.ScrollViewer_SetPanningMode(DependencyObject.getCPtr(element), (int)panningMode); } }
public static PanningMode GetPanningMode(DependencyObject element) { PanningMode ret = (PanningMode)NoesisGUI_PINVOKE.ScrollViewer_GetPanningMode(DependencyObject.getCPtr(element)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PanningMode GetPanningMode(DependencyObject element) { if (element == null) { throw new ArgumentNullException("element"); } { PanningMode ret = (PanningMode)NoesisGUI_PINVOKE.ScrollViewer_GetPanningMode(DependencyObject.getCPtr(element)); return(ret); } }
protected override void OnTouchDown(TouchEventArgs e) { // store panning mode or set it back to it's original state. OnManipulationCompleted does not do it every time, so we need to set it once more. if (this.panningModeSet == false) { this.panningMode = this.PanningMode; this.panningModeSet = true; } else { this.PanningMode = this.panningMode; } base.OnTouchDown(e); }
public static void SetPanningMode(System.Windows.DependencyObject element, PanningMode panningMode) { }
public static void SetPanningMode(DependencyObject element, PanningMode panningMode) { NoesisGUI_PINVOKE.ScrollViewer_SetPanningMode(DependencyObject.getCPtr(element), (int)panningMode); }
public static PanningMode GetPanningMode(DependencyObject element) { PanningMode ret = (PanningMode)NoesisGUI_PINVOKE.ScrollViewer_GetPanningMode(DependencyObject.getCPtr(element)); return(ret); }
/// <summary> /// Set method for PanningMode /// </summary> public static void SetPanningMode(DependencyObject element, PanningMode panningMode) { if (element == null) { throw new ArgumentNullException("element"); } element.SetValue(PanningModeProperty, panningMode); }
public static IntPtr Box_PanningMode(PanningMode val) { IntPtr ret = NoesisGUI_PINVOKE.Box_PanningMode((int)val); return(ret); }
public static PanningMode Unbox_PanningMode(IntPtr val) { PanningMode ret = (PanningMode)NoesisGUI_PINVOKE.Unbox_PanningMode(val); return(ret); }
public static T PanningMode <T>(this T target, PanningMode value) where T : DependencyObject { Controls.ScrollViewer.SetPanningMode(target, value); return(target); }
public static ScrollViewer PanningMode(this ScrollViewer target, PanningMode value) { target.PanningMode = value; return(target); }