/// <summary> /// Initializes a new instance of the <see cref="Column"/> class with /// the a header. /// </summary> public Column(string header) { HeaderCell = new HeaderCell(header) { ParentColumn = this }; CellHorizontalAlignment = HorizontalAlignment.Default; }
/// <summary> /// Initializes a new instance of the <see cref="Column"/> class. /// </summary> public Column(object header, HorizontalAlignment horizontalAlignment) { HeaderCell = new HeaderCell(header) { ParentColumn = this }; CellHorizontalAlignment = horizontalAlignment; }
/// <summary> /// Initializes a new instance of the <see cref="Column"/> class. /// </summary> public Column() { HeaderCell = new HeaderCell { ParentColumn = this }; CellHorizontalAlignment = HorizontalAlignment.Default; }
/// <summary> /// Initializes a new instance of the <see cref="Column"/> class. /// </summary> public Column(MultilineText header, HorizontalAlignment horizontalAlignment) { HeaderCell = new HeaderCell(header) { ParentColumn = this }; CellHorizontalAlignment = horizontalAlignment; }