protected override Bound LayoutChildren(StyleSheet.StyleSheet stylesheet, Bound styleBound, Bound maxBound)
        {
            Bound bound = LayoutBehaviour.Horizontal(stylesheet, this, Childrens, styleBound, maxBound, true);

            if (Childrens.Count > 0)
            {
                Behavour.Borders.Add(Childrens[0].Frame.Left);
                foreach (IControl <View> control in Childrens)
                {
                    Behavour.Borders.Add(control.Frame.Right);
                }
            }
            Behavour.ScrolledMeasure = bound.Width;
            return(bound);
        }
        protected override Bound LayoutChildren(StyleSheet.StyleSheet stylesheet, Bound styleBound, Bound maxBound)
        {
            _behaviour.ScrolledMeasure = styleBound.Width;

            Bound bound = LayoutBehaviour.Horizontal(stylesheet, this, _controls, styleBound, maxBound, true);

            if (_controls.Count > 0)
            {
                _behaviour.Borders.Add(_controls [0].Frame.Left);
                foreach (var control in _controls)
                {
                    _behaviour.Borders.Add(control.Frame.Right);
                }
            }

            return(bound);
        }
 protected override Bound LayoutChildren(StyleSheet.StyleSheet stylesheet, Bound styleBound, Bound maxBound)
 {
     return(LayoutBehaviour.Horizontal(stylesheet, this, Childrens, styleBound, maxBound));
 }