Ejemplo n.º 1
0
 protected void OutputPanel(iPanel panel)
 {
     System.Console.WriteLine(panel.Header);
     System.Console.WriteLine(StripHtml(panel.Text));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Generates an <see cref="iFactr.UI.ICell"/> instance from the specified <see cref="iPanel"/>.
 /// </summary>
 /// <param name="panel">The block from which to generate the cell.</param>
 /// <param name="style">The <see cref="iFactr.Core.Styles.Style"/> instance that describes the panel style,
 /// or <c>null</c> if the panel will use the default style.</param>
 /// <param name="view">The view that the cell will reside in.</param>
 /// <param name="recycledCell">An <see cref="iFactr.UI.ICell"/> instance to use in place of a new one, or <c>null</c> if a new one is needed.</param>
 /// <returns>The generated cell for the specified panel.</returns>
 public static ICell Convert(this iPanel panel, Style style, IListView view, ICell recycledCell)
 {
     return(iApp.Factory.Converter.ConvertToCell(panel, style, view, recycledCell));
 }