/// <summary> /// Gets the full margin. /// </summary> /// <returns>The full margin.</returns> public float GetFullMargin() { return(IsHorizontal ? Layout.GetMarginLeft() + Layout.GetMarginRight() : Layout.GetMarginTop() + Layout.GetMarginBottom()); }
/// <summary> /// Gets sum of top and bottom margin. /// </summary> /// <returns>The full margin.</returns> public float GetFullMarginY() { return Layout.GetMarginTop() + Layout.GetMarginBottom(); }