PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderTable Class / ColumnSizingMode Property

In This Topic
    ColumnSizingMode Property (RenderTable)
    In This Topic
    Gets or sets a value determining how the widths of table columns are calculated. The default is TableSizingModeEnum.Fixed.
    Syntax
    'Declaration
     
    Public Property ColumnSizingMode As TableSizingModeEnum
    public TableSizingModeEnum ColumnSizingMode {get; set;}
    Remarks
    To make a table with automatically calculated columns' widths, set this property to TableSizingModeEnum.Auto, and the Width on the RenderTable to Unit.Auto, e.g.: RenderTable rt = new RenderTable(); rt.ColumnSizingMode = TableSizingModeEnum.Auto; rt.Width = Unit.Auto;
    See Also