Search Results for

    Show / Hide Table of Contents

    Class TableColumn

    Represents a table column.

    Inheritance
    System.Object
    Base
    ComponentBase
    TableColumn
    Implements
    IFRSerializable
    Inherited Members
    ComponentBase.AbsBottom
    ComponentBase.AbsBounds
    ComponentBase.AbsLeft
    ComponentBase.AbsRight
    ComponentBase.AbsTop
    ComponentBase.Anchor
    ComponentBase.Bottom
    ComponentBase.Bounds
    ComponentBase.ClientSize
    ComponentBase.Dock
    ComponentBase.GroupIndex
    ComponentBase.Height
    ComponentBase.Right
    ComponentBase.Tag
    ComponentBase.Top
    ComponentBase.Visible
    ComponentBase.VisibleExpression
    ComponentBase.Printable
    ComponentBase.PrintableExpression
    ComponentBase.GetExpressions()
    ComponentBase.CalcVisibleExpression(String)
    Base.Name
    Base.Restrictions
    Base.Flags
    Base.Parent
    Base.BaseName
    Base.ClassName
    Base.Report
    Base.Page
    Base.ChildObjects
    Base.AllObjects
    Base.ZOrder
    Base.IsAncestor
    Base.IsDesigning
    Base.IsPrinting
    Base.IsRunning
    Base.OriginalComponent
    Base.Disposed
    Base.SetProp(Base, Base)
    Base.FloatDiff(Single, Single)
    Base.DeserializeSubItems(FRReader)
    Base.ExtractDefaultMacros(String)
    Base.Dispose(Boolean)
    Base.Dispose()
    Base.SetFlags(Flags, Boolean)
    Base.SetReport(Report)
    Base.SetName(String)
    Base.SetParent(Base)
    Base.SetParentCore(Base)
    Base.FindObject(String)
    Base.CreateUniqueName()
    Base.Deserialize(FRReader)
    Base.BaseAssign(Base)
    Base.AssignAll(Base)
    Base.HasParent(Base)
    Base.HasFlag(Flags)
    Base.HasRestriction(Restrictions)
    Base.InvokeEvent(String, Object)
    Base.OnAfterLoad()
    Base.GetCustomScript()
    Base.ExtractMacros()
    Base.IsHaveToConvert(Object)
    Base.GetConvertedObjects()
    Base.ForEachAllConvectedObjects(Object)
    Namespace: FastReport.Table
    Assembly: FastReport.Base.dll
    Syntax
    public class TableColumn : ComponentBase, IDisposable, IFRSerializable
    Remarks

    Use the Width property to set the width of a column. If AutoSize property is true, the column will calculate its width automatically.

    You can also set the MinWidth and MaxWidth properties to restrict the column's width.

    Constructors

    TableColumn()

    Initializes a new instance of the TableColumn class.

    Declaration
    public TableColumn()

    Properties

    AutoSize

    Gets or sets a value determines if the column should calculate its width automatically.

    Declaration
    public bool AutoSize { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    The column width cannot exceed the range defined by the MinWidth and MaxWidth properties.

    Index

    Gets the index of this column.

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    System.Int32

    KeepColumns

    Gets or sets the number of columns to keep on the same page.

    Declaration
    public int KeepColumns { get; set; }
    Property Value
    Type Description
    System.Int32

    Left

    Declaration
    public override float Left { get; set; }
    Property Value
    Type Description
    System.Single
    Overrides
    ComponentBase.Left

    MaxWidth

    Gets or sets the maximal width for this column, in pixels.

    Declaration
    public float MaxWidth { get; set; }
    Property Value
    Type Description
    System.Single

    MinWidth

    Gets or sets the minimal width for this column, in pixels.

    Declaration
    public float MinWidth { get; set; }
    Property Value
    Type Description
    System.Single

    PageBreak

    Gets or sets the page break flag for this column.

    Declaration
    public bool PageBreak { get; set; }
    Property Value
    Type Description
    System.Boolean

    Width

    Gets or sets a width of the column, in pixels.

    Declaration
    public override float Width { get; set; }
    Property Value
    Type Description
    System.Single
    Overrides
    ComponentBase.Width
    Remarks

    The column width cannot exceed the range defined by the MinWidth and MaxWidth properties.

    note

    To convert between pixels and report units, use the constants defined in the Units class.

    Methods

    Assign(Base)

    Declaration
    public override void Assign(Base source)
    Parameters
    Type Name Description
    Base source
    Overrides
    ComponentBase.Assign(Base)

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Base.Clear()

    Serialize(FRWriter)

    Declaration
    public override void Serialize(FRWriter writer)
    Parameters
    Type Name Description
    FRWriter writer
    Overrides
    ComponentBase.Serialize(FRWriter)

    SetIndex(Int32)

    Declaration
    public void SetIndex(int value)
    Parameters
    Type Name Description
    System.Int32 value

    Implements

    IFRSerializable
    Back to top © 1998-2025 Copyright Fast Reports Inc.