コード例 #1
0
 public GridCellCheckboxEventArgs(CandyGridRow row, CandyGridColumn column, bool isChecked)
     : base(row?.Grid)
 {
     IsChecked = isChecked;
     Row       = row;
     Column    = column;
 }
コード例 #2
0
        private void UpdateSelected(CandyGridRow row)
        {
            if (row.DataItem is not Product product)
            {
                return;
            }

            row.Attributes.CssClass       = product.IsChecked ? "table-active" : null;
            row.Cells[1].Attributes.Style = product.IsChecked ? "font-weight: bold" : "font-weight: normal";
        }
コード例 #3
0
 public GridRowMouseEventArgs(CandyGridRow row, MouseEventArgs mouse)
     : base(row?.Grid)
 {
     Row   = row;
     Mouse = mouse;
 }
コード例 #4
0
 internal GridCellData(CandyGridRow row, CandyGridColumn column, object dataItem)
 {
     Row      = row;
     Column   = column;
     DataItem = dataItem;
 }