/// <summary>Sets the <see cref="P:System.Windows.Controls.VirtualizingPanel.ScrollUnit" /> attached property.</summary> /// <param name="element">The object to set the property on.</param> /// <param name="value">A value that indicates whether scrolling is measured as items in the collection or as pixels.</param> // Token: 0x06005A1A RID: 23066 RVA: 0x0018D516 File Offset: 0x0018B716 public static void SetScrollUnit(DependencyObject element, ScrollUnit value) { if (element == null) { throw new ArgumentNullException("element"); } element.SetValue(VirtualizingPanel.ScrollUnitProperty, value); }
public static void SetScrollUnit(DependencyObject element, ScrollUnit unit) { NoesisGUI_PINVOKE.VirtualizingPanel_SetScrollUnit(DependencyObject.getCPtr(element), (int)unit); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } }
public static void SetScrollUnit(DependencyObject element, ScrollUnit unit) { if (element == null) { throw new ArgumentNullException("element"); } { NoesisGUI_PINVOKE.VirtualizingPanel_SetScrollUnit(DependencyObject.getCPtr(element), (int)unit); } }
public static ScrollUnit GetScrollUnit(DependencyObject element) { ScrollUnit ret = (ScrollUnit)NoesisGUI_PINVOKE.VirtualizingPanel_GetScrollUnit(DependencyObject.getCPtr(element)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ScrollUnit GetScrollUnit(DependencyObject element) { if (element == null) { throw new ArgumentNullException("element"); } { ScrollUnit ret = (ScrollUnit)NoesisGUI_PINVOKE.VirtualizingPanel_GetScrollUnit(DependencyObject.getCPtr(element)); return(ret); } }
/// <summary> /// Sets the value for <see cref="ScrollUnitProperty" />. /// </summary> /// <param name="element">The element on which to set the value.</param> public static void SetScrollUnit(DependencyObject element, ScrollUnit value) { if (element == null) { throw new ArgumentNullException("element"); } element.SetValue(ScrollUnitProperty, value); }
public static IntPtr Box_ScrollUnit(ScrollUnit val) { IntPtr ret = NoesisGUI_PINVOKE.Box_ScrollUnit((int)val); return(ret); }
public static ScrollUnit Unbox_ScrollUnit(IntPtr val) { ScrollUnit ret = (ScrollUnit)NoesisGUI_PINVOKE.Unbox_ScrollUnit(val); return(ret); }
public static ScrollUnit GetScrollUnit(DependencyObject element) { ScrollUnit ret = (ScrollUnit)NoesisGUI_PINVOKE.VirtualizingPanel_GetScrollUnit(DependencyObject.getCPtr(element)); return(ret); }
public static void SetScrollUnit(DependencyObject element, ScrollUnit unit) { NoesisGUI_PINVOKE.VirtualizingPanel_SetScrollUnit(DependencyObject.getCPtr(element), (int)unit); }