private static GridHorizontalArrayItem NewNameItem(GridItemBase iconItem, GridItemBase dataItem, int iconWidth, int indent) { GridTreeExpanderItem expander = new GridTreeExpanderItem(); GridItemBase[] items = { expander, iconItem, dataItem }; int[] widths = { 12, iconWidth }; return(new GridHorizontalArrayItem(indent, items, widths, false)); }
private static GridHorizontalArrayItem NewNameItem(GridItemBase iconItem, GridItemBase dataItem, int iconWidth, int indent) { GridTreeExpanderItem expander = new GridTreeExpanderItem(); GridItemBase[] items = { expander, iconItem, dataItem }; int[] widths = { 12, iconWidth }; return new GridHorizontalArrayItem(indent, items, widths, false); }