Exemplo n.º 1
0
 public override void AddContent(ViewBuilder builder)
 {
     if (Child == null)
     {
         return;
     }
     // We need to Show() the child, not just Add its content, because it may
     // wish to create a box, or at least set styles.
     Child.Show(builder);
 }
Exemplo n.º 2
0
 public override void AddContent(ViewBuilder builder)
 {
     if (m_substituteString != null)
     {
         builder.AddString(m_fetchString, m_substituteString, m_substituteWs);
     }
     else
     {
         builder.AddString(m_fetchString);
     }
 }
Exemplo n.º 3
0
 public override void AddContent(ViewBuilder builder)
 {
     if (Children == null)
     {
         return;
     }
     // We need to Show() each flow, not just Add its content, because each flow may
     // wish to create a box, or at least set styles.
     foreach (var flow in Children)
     {
         flow.Show(builder);
     }
 }
Exemplo n.º 4
0
 public void Show(ViewBuilder builder)
 {
     builder.AddGroupBox(MakeBox(builder.NestedBoxStyles), AddContent);
 }
Exemplo n.º 5
0
 public override void AddContent(ViewBuilder builder)
 {
     builder.AddBlock(m_color, m_mpWidth, m_mpHeight);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Add your content to the builder.
 /// </summary>
 /// <param name="builder"></param>
 public abstract void AddContent(ViewBuilder builder);
Exemplo n.º 7
0
 public override void AddContent(ViewBuilder builder)
 {
     builder.AddString(Content, Ws);
 }
Exemplo n.º 8
0
 public override void AddContent(ViewBuilder builder)
 {
     builder.AddLazyObjSeq(FetchItems, ItemBuilder.m_displayOneItem);
     base.AddContent(builder);
 }