コード例 #1
0
 void QuotePriceGrid_CellControlAttached(object sender, CellControlAttachedEventArgs e)
 {
     if (e.Cell.Column.Key == "QuotePriceClients")
     {
         return;
     }
     Row row = (Row)e.Cell.Row;
     if (row.HasChildren)
     {
         row.IsExpanded = true;
     }
 }
コード例 #2
0
 void OrderTaskGrid_CellControlAttached(object sender, CellControlAttachedEventArgs e)
 {
     OrderTask orderTask = e.Cell.Row.Data as OrderTask;
     switch (e.Cell.Column.Key)
     {
         case "HitCount":
             int hitCount = orderTask.HitCount.Value;
             if (hitCount > 0)
             {
                 //this.SetOrderTaskStatusStyle(e.Cell);
             }
             break;
     }
 }