/// <summary> /// Sets the right. /// </summary> /// <param name="element">The element.</param> /// <param name="value">The value.</param> public static void SetRight(Element2DCore element, double value) { element.SetValue(RightProperty, value); }
/// <summary> /// Gets the right. /// </summary> /// <param name="element">The element.</param> /// <returns></returns> public static double GetRight(Element2DCore element) { return((double)element.GetValue(RightProperty)); }
/// <summary> /// Sets the top. /// </summary> /// <param name="element">The element.</param> /// <param name="value">The value.</param> public static void SetTop(Element2DCore element, double value) { element.SetValue(TopProperty, value); }
/// <summary> /// Gets the top. /// </summary> /// <param name="element">The element.</param> /// <returns></returns> public static double GetTop(Element2DCore element) { return((double)element.GetValue(TopProperty)); }
/// <summary> /// Sets the left. /// </summary> /// <param name="element">The element.</param> /// <param name="value">The value.</param> public static void SetLeft(Element2DCore element, double value) { element.SetValue(LeftProperty, value); }
/// <summary> /// Gets the bottom. /// </summary> /// <param name="element">The element.</param> /// <returns></returns> public static double GetBottom(Element2DCore element) { return((double)element.GetValue(BottomProperty)); }
/// <summary> /// Sets the bottom. /// </summary> /// <param name="element">The element.</param> /// <param name="value">The value.</param> public static void SetBottom(Element2DCore element, double value) { element.SetValue(BottomProperty, value); }
/// <summary> /// Gets the relative y. /// </summary> /// <param name="element">The element.</param> /// <returns></returns> public static double GetRelativeY(Element2DCore element) { return((double)element.GetValue(RelativeYProperty)); }
/// <summary> /// Sets the relative y. /// </summary> /// <param name="element">The element.</param> /// <param name="value">The value.</param> public static void SetRelativeY(Element2DCore element, double value) { element.SetValue(RelativeYProperty, value); }