예제 #1
0
 public void BeginHorizontal(bool?yscale = null)
 {
     if (Generated)
     {
         throw new AlreadyGeneratedException();
     }
     currentItem.AddRow(currentItem.CurrentRow = new DynamicRow());
     this.yscale = yscale;
 }
예제 #2
0
 /// <summary>
 /// Begins a new horizontal row section
 /// </summary>
 /// <remarks>
 /// After calling this method, each subsequent call to <see cref="Add"/> will add controls in a horizontal orientation.
 ///
 /// When finished adding controls to the horizontal section, call <see cref="EndHorizontal"/>
 /// </remarks>
 /// <returns>A new row to hold the horizontal controls</returns>
 /// <param name="yscale">YScale of the horizontal section</param>
 public DynamicRow BeginHorizontal(bool?yscale = null)
 {
     currentItem.AddRow(currentItem.CurrentRow = new DynamicRow());
     this.yscale = yscale;
     return(currentItem.CurrentRow);
 }
예제 #3
0
 /// <summary>
 /// Begins a new horizontal row section
 /// </summary>
 /// <remarks>
 /// After calling this method, each subsequent call to <see cref="Add"/> will add controls in a horizontal orientation.
 ///
 /// When finished adding controls to the horizontal section, call <see cref="EndHorizontal"/>
 /// </remarks>
 /// <returns>A new row to hold the horizontal controls</returns>
 /// <param name="yscale">YScale of the horizontal section</param>
 public DynamicRow BeginHorizontal(bool?yscale = null)
 {
     currentItem.AddRow(currentItem.CurrentRow = new DynamicRow());
     yscales.Push(yscale);
     return(currentItem.CurrentRow);
 }