private void customGridView1_OnSmartIconSelection(object sender, SmartIconSelectionEventArgs e)
        {
            CustomGridView view  = (CustomGridView)sender;
            Image          image = (Image)view.GetRowCellValue(e.CellInfo.RowHandle, "value3");

            e.Image = image;
        }
 public override void Assign(BaseView v, bool copyEvents)
 {
     if (v == null)
     {
         return;
     }
     BeginUpdate();
     try
     {
         CustomGridView gv = v as CustomGridView;
         if (gv != null)
         {
             if (copyEvents)
             {
                 Events.AddHandler(_onSmartIconSelection, gv.Events[_onSmartIconSelection]);
             }
         }
     }
     finally { EndUpdate(); }
 }