Esempio n. 1
0
 internal void NotifyFormatCell(GridFormatCellEventArgs args)
 {
     if (FormatCell != null)
     {
         FormatCell(this, args);
     }
 }
Esempio n. 2
0
        void ctlGrid_FormatCell(object sender, GridFormatCellEventArgs e)
        {
            var group = (YamsterGroup)e.Item;

            bool bold = group.TrackRead && !group.Read;

            e.Renderer.Weight = bold ? 800 : 400;
        }
Esempio n. 3
0
        private void ctlQueriesGrid_FormatCell(object sender, GridFormatCellEventArgs e)
        {
            var gridQuery = (GridQuery)e.Item;

            bool bold = !gridQuery.View.Read;

            e.Renderer.Weight = bold ? 800 : 400;
        }
Esempio n. 4
0
        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;
            }
        }
Esempio n. 5
0
        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;
            }
        }