public ButtonEditCustomCaptionHelper(GridView view, GridColumn column, GetButtonCaptionDelegate eventHandler) { _EventHandler = eventHandler; _Column = column; view.CustomDrawCell += view_CustomDrawCell; view.ShownEditor += new EventHandler(view_ShownEditor); }
public static void Register(GridColumn column, GetButtonCaptionDelegate eventHandler) { new ButtonEditCustomCaptionHelper(column.View as GridView, column, eventHandler); }