public override BaseView CreateView(GridControl grid)
        {
            CustomGridView view = new CustomGridView();

            view.SetGridControlAccessMetod(grid);
            return(view);
        }
 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(_priorityRowCellStyle, gv.Events[_priorityRowCellStyle]);
             }
         }
     }
     finally { EndUpdate(); }
 }