예제 #1
0
        public void Clear()
        {
            titleRowX  = null;
            headerRowX = null;
            dataRowXs.Clear();
            columnsWidths.Clear();

            MinWidth = 0;

            TitleTopBorder  = null;
            HeaderTopBorder = null;
            DataTopBorder   = null;

            TitleHeaderSeparator = null;
            TitleDataSeparator   = null;
            TitleBottomBorder    = null;

            HeaderDataSeparator = null;
            HeaderBottomBorder  = null;

            DataDataSeparator = null;
            DataBottomBorder  = null;
        }
예제 #2
0
        private void AddHeader()
        {
            HeaderRowX headerRowX = new HeaderRowX(Columns, DisplayBorder);

            dataGridX.AddHeaderRow(headerRowX);
        }
예제 #3
0
 public void AddHeaderRow(HeaderRowX headerRowX)
 {
     this.headerRowX = headerRowX;
     headerRowX.UpdateColumnsWidths(columnsWidths);
 }