Exemplo n.º 1
0
 public virtual void LayoutComponent(
     Grid grid,
     PageComponent p,
     int CurrentOption,
     int OptionCount,
     bool isTall
     )
 {
     if (isTall)
     {
         LayoutComponentTall(
             grid,
             p.PCType,
             p.PCView,
             CurrentOption,
             OptionCount
             );
     }
     else
     {
         LayoutComponentWide(
             grid,
             p.PCType,
             p.PCView,
             CurrentOption,
             OptionCount
             );
     }  // End Wide
 }
Exemplo n.º 2
0
 public override void LayoutComponent(Grid grid, PageComponent p, int CurrentOption, int OptionCount, bool isTall)
 {
     if (p.PCType == PageComponentType.Description)
     {
         Description = p.PCView as SKCanvasView;
     }
     else
     {
         base.LayoutComponent(grid, p, CurrentOption, OptionCount, isTall);
     }
 }