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; } }
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; } }