Example #1
0
        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));
        }
Example #2
0
 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);
 }