public CustomDataGridViewColumnDescriptor(
     DataGridViewColumnType type,
     string header,
     int width,
     int dividerWidth,
     DataGridViewCellStyle cellStyle,
     CellInitializerMethodDelegate initializerMethod,
     CellUpdaterMethodDelegate updaterMethod,
     CellDropDownPopulatorMethodDelegate dropDownPopulatorMethod,
     CellContentClickHandlerMethodDelegate contentClickHandlerMethod,
     CellDoubleClickHandlerMethodDelegate doubleClickHandlerMethod,
     CellEndEditHandlerMethodDelegate endEditHandlerMethod,
     string[] changeEvents,
     string[][] multilevelChangeEvents,
     ExternalUpdateEventSubscriberMethodDelegate externalUpdateEventSubscriberMethod,
     bool textEditable,
     string buttonText,
     Image buttonImage,
     Padding buttonImagePadding,
     bool iconShown,
     Color iconColor,
     DataGridViewSmallIconCell.IconTypes iconType,
     Padding iconPadding)
 {
     Type                                = type;
     Header                              = header;
     Width                               = width;
     DividerWidth                        = dividerWidth;
     CellStyle                           = cellStyle;
     InitializerMethod                   = initializerMethod;
     UpdaterMethod                       = updaterMethod;
     DropDownPopulatorMethod             = dropDownPopulatorMethod;
     ContentClickHandlerMethod           = contentClickHandlerMethod;
     DoubleClickHandlerMethod            = doubleClickHandlerMethod;
     EndEditHandlerMethod                = endEditHandlerMethod;
     ChangeEvents                        = changeEvents;
     MultilevelChangeEvents              = multilevelChangeEvents;
     ExternalUpdateEventSubscriberMethod = externalUpdateEventSubscriberMethod;
     TextEditable                        = textEditable;
     ButtonText                          = buttonText;
     ButtonImage                         = buttonImage;
     ButtonImagePadding                  = buttonImagePadding;
     IconShown                           = iconShown;
     IconColor                           = iconColor;
     IconType                            = iconType;
     IconPadding                         = iconPadding;
 }
예제 #2
0
 public CustomDataGridViewColumnDescriptorBuilder <T> IconType(DataGridViewSmallIconCell.IconTypes iconType)
 {
     this.iconType = iconType;
     return(this);
 }