Esempio n. 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));
        }
Esempio n. 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);
 }