internal void NotifyFormatCell(GridFormatCellEventArgs args) { if (FormatCell != null) { FormatCell(this, args); } }
void ctlGrid_FormatCell(object sender, GridFormatCellEventArgs e) { var group = (YamsterGroup)e.Item; bool bold = group.TrackRead && !group.Read; e.Renderer.Weight = bold ? 800 : 400; }
private void ctlQueriesGrid_FormatCell(object sender, GridFormatCellEventArgs e) { var gridQuery = (GridQuery)e.Item; bool bold = !gridQuery.View.Read; e.Renderer.Weight = bold ? 800 : 400; }
void ctlGrid_FormatCell(object sender, GridFormatCellEventArgs e) { var thread = (YamsterThread)e.Item; bool bold = this.TrackRead && !thread.Read; if (e.Column != col_NewThread) { // Bold if unread e.Renderer.Weight = bold ? 800 : 400; } }
void ctlGrid_FormatCell(object sender, GridFormatCellEventArgs e) { var message = (YamsterMessage)e.Item; bool bold = message.Group.TrackRead && !message.Thread.Read; if (e.Column != col_NewThread) { // Bold if unread e.Renderer.Weight = bold ? 800 : 400; } }