void UpdateFooterPosition() { if (_footer == null) { return; } var point = new Point(); if (IsHorizontal) { point.X += (GetScrollCanvasSize().Width - _footerSize.Width); } else { point.Y += (GetScrollCanvasSize().Height - _footerSize.Height); } var bound = new Rect(point, _footerSize); if (IsHorizontal) { bound.Height = _allocatedSize.Height; } else { bound.Width = _allocatedSize.Width; } _footer.UpdateBounds(bound); }
public static void UpdatePosition(this View view, Point position) { view.Position = position.ToNative(); }
public static void UpdatePosition(this EvasObject view, Point position) { view.Move((int)position.X, (int)position.Y); }