Exemplo n.º 1
0
 /// <inheritdoc />
 public override void EnsureView(EnsureViewHints hints)
 {
     if (hints.HasTemplateHint())
     {
         SetGeometry();
     }
     else if (hints.HasBoundsHint())
     {
         ArrangeListViewOutputs();
     }
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public override void EnsureView(EnsureViewHints hints)
 {
     if (hints.HasTemplateHint())
     {
         if (Template == ViewElementTemplate.Icon)
         {
             SetIconViewGeometry();
         }
         else
         {
             ArrangeListView();
         }
     }
     else if (hints.HasBoundsHint())
     {
         ArrangeListViewOutputs();
     }
 }