Esempio n. 1
0
        /// <summary>
        /// Creates a horizontal layout and adds it to this layout.
        /// </summary>
        public ILayout HorizontalLayout(string text = null)
        {
            var newLayout = new HorizontalLayout(this, text);

            children.Add(newLayout);
            return(newLayout);
        }
Esempio n. 2
0
        /// <summary>
        /// Creates a horizontal layout and adds it to this layout.
        /// </summary>
        public ILayout HorizontalLayout()
        {
            var newLayout = new HorizontalLayout(this);

            children.Add(newLayout);
            return(newLayout);
        }