Search Results for

    Show / Hide Table of Contents

    Class GridControlColumn

    Represents the GridControl's column. Wraps the System.Windows.Forms.DataGridViewTextBoxColumn class.

    Inheritance
    System.Object
    Base
    GridControlColumn
    Implements
    IFRSerializable
    Inherited Members
    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.Clear()
    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.GetExpressions()
    Base.GetCustomScript()
    Base.ExtractMacros()
    Base.IsHaveToConvert(Object)
    Base.GetConvertedObjects()
    Base.ForEachAllConvectedObjects(Object)
    FastReport.Base.IsSelected
    FastReport.Base.IsParentSelected
    FastReport.Base.Delete()
    FastReport.Base.OnBeforeInsert(System.Int32)
    FastReport.Base.OnAfterInsert(FastReport.InsertFrom)
    FastReport.Base.SelectionChanged()
    FastReport.Base.GetContextMenu()
    FastReport.Base.GetImageIndex()
    Namespace: FastReport.Dialog
    Assembly: FastReport.dll
    Syntax
    public class GridControlColumn : Base, IDisposable, IFRSerializable

    Constructors

    GridControlColumn()

    Initializes a new instance of the GridControlColumn class with default settings.

    Declaration
    public GridControlColumn()

    Properties

    AutoSizeMode

    Gets or sets the mode by which the column automatically adjusts its width. Wraps the System.Windows.Forms.DataGridViewColumn.AutoSizeMode property.

    Declaration
    public DataGridViewAutoSizeColumnMode AutoSizeMode { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.DataGridViewAutoSizeColumnMode

    DataColumn

    Gets or sets the data column attached to this column.

    Declaration
    public string DataColumn { get; set; }
    Property Value
    Type Description
    System.String

    DefaultCellStyle

    Gets or sets the column's default cell style. Wraps the System.Windows.Forms.DataGridViewColumn.DefaultCellStyle property.

    Declaration
    public DataGridViewCellStyle DefaultCellStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.DataGridViewCellStyle

    FillWeight

    Gets or sets a value that represents the width of the column when it is in fill mode relative to the widths of other fill-mode columns in the control. Wraps the System.Windows.Forms.DataGridViewColumn.FillWeight property.

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

    HeaderText

    Gets or sets the caption text on the column's header cell. Wraps the System.Windows.Forms.DataGridViewColumn.HeaderText property.

    Declaration
    public string HeaderText { get; set; }
    Property Value
    Type Description
    System.String

    Name

    This property is not relevant to this class.

    Declaration
    [Browsable(false)]
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Restrictions

    This property is not relevant to this class.

    Declaration
    [Browsable(false)]
    public Restrictions Restrictions { get; set; }
    Property Value
    Type Description
    Restrictions

    Visible

    Gets or sets a value indicating whether the column is visible. Wraps the System.Windows.Forms.DataGridViewColumn.Visible property.

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

    Width

    Gets or sets the current width of the column. Wraps the System.Windows.Forms.DataGridViewColumn.Width property.

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

    Methods

    Assign(Base)

    Copies the contents of another, similar object.

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

    Source object to copy the contents from.

    Overrides
    Base.Assign(Base)
    Remarks

    Call Assign to copy the properties from another object of the same type. The standard form of a call to Assign is

    destination.Assign(source);

    which tells the destination object to copy the contents of the source object to itself. In this method, all child objects are ignored. If you want to copy child objects, use the AssignAll method.

    See Also
    AssignAll(Base)

    Serialize(FRWriter)

    Serializes the object.

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

    Writer object.

    Overrides
    Base.Serialize(FRWriter)
    Remarks

    Do not call this method directly. You should override it if you are developing a new component for FastReport.

    This method is called when the object needs to save the state. It may happen when:

    • saving the report to the file or stream;
    • saving the report to the designer's undo buffer;
    • assigning the object to another object using the Assign(Base) or AssignAll methods;
    • saving the object to the designer's clipboard;
    • saving the object to the preview (when run a report).

    Implements

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