Пример #1
0
        /// <summary>
        /// Positions child objects and determines a size for a UIElement. Parent objects that implement custom layout
        /// for their child elements should call this method from their layout override implementations to form a recursive layout update.
        /// </summary>
        /// <param name="finalRect">The final size that the parent computes for the child in layout, provided as a <see cref="Windows.Foundation.Rect"/> value.</param>
        public override void Arrange(Rect finalRect)
        {
#if !__ANDROID__ // On Android .ArrangeChild() will call .Arrange() in its flow.
            _layouter.Arrange(finalRect);
#endif
            _layouter.ArrangeChild(this, finalRect);
        }
Пример #2
0
 /// <summary>
 /// Positions child objects and determines a size for a UIElement. Parent objects that implement custom layout
 /// for their child elements should call this method from their layout override implementations to form a recursive layout update.
 /// </summary>
 /// <param name="finalRect">The final size that the parent computes for the child in layout, provided as a <see cref="Windows.Foundation.Rect"/> value.</param>
 public override void Arrange(Rect finalRect)
 {
     _layouter.Arrange(finalRect);
     _layouter.ArrangeChild(this, finalRect);
 }
Пример #3
0
 /// <summary>
 /// Positions child objects and determines a size for a UIElement. Parent objects that implement custom layout
 /// for their child elements should call this method from their layout override implementations to form a recursive layout update.
 /// </summary>
 /// <param name="finalRect">The final size that the parent computes for the child in layout, provided as a <see cref="Windows.Foundation.Rect"/> value.</param>
 public override void Arrange(Rect finalRect)
 {
     _layouter.Arrange(finalRect);
     _layouter.ArrangeChild(this, finalRect, raiseLayoutUpdated: false);
 }