FlexGrid for WinForms| ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGrid Class
Members

In This Topic
    C1FlexGrid Class
    In This Topic

    The C1FlexGrid control is a powerful, full-featured grid.

    C1FlexGrid provides advanced features such as outline trees, cell merging, masked editing, translated combo and image lists, owner-draw cells, and automatic data aggregation.

    Object Model
    C1FlexGrid ClassColumnCollection ClassColumn ClassColumnPickerInfo ClassComboBoxEditor ClassCellRange StructureFooters ClassGridGlyphs ClassCellRangeCollection ClassCellRange StructureGridPrinter ClassC1FlexGridRenderer ClassRowCollection ClassRow ClassCellRange StructureColumn ClassCellStyleCollection ClassCellStyle ClassGridTree Class
    Syntax
    'Declaration
     
    
    <LicenseProviderAttribute(System.ComponentModel.LicenseProvider)>
    <DesignerAttribute(C1.Win.C1FlexGrid.Design.GridDesigner)>
    <ToolboxBitmapAttribute(C1.Win.C1FlexGrid.C1FlexGrid, "C1FlexGrid.png")>
    <C1DescriptionAttribute("C1FlexGrid", "Represents a full-featured data grid with outline trees, cell merging, and many other advanced features.")>
    <DockingAttribute(DockingBehavior.Ask)>
    <ComVisibleAttribute(True)>
    <ComplexBindingPropertiesAttribute("DataSource", "DataMember")>
    <DefaultMemberAttribute("Item")>
    <DefaultPropertyAttribute("Text")>
    <DefaultEventAttribute("Click")>
    <DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    <ToolboxItemFilterAttribute("System.Windows.Forms")>
    <DesignerCategoryAttribute("Component")>
    Public Class C1FlexGrid 
       Inherits C1FlexGridBase
       Implements IFlexDataGrid, C1.Win.CoditionalFormatting.IFormattableView 
    [LicenseProvider(System.ComponentModel.LicenseProvider)]
    [Designer(C1.Win.C1FlexGrid.Design.GridDesigner)]
    [ToolboxBitmap(C1.Win.C1FlexGrid.C1FlexGrid, "C1FlexGrid.png")]
    [C1Description("C1FlexGrid", "Represents a full-featured data grid with outline trees, cell merging, and many other advanced features.")]
    [Docking(DockingBehavior.Ask)]
    [ComVisible(true)]
    [ComplexBindingProperties("DataSource", "DataMember")]
    [DefaultMember("Item")]
    [DefaultProperty("Text")]
    [DefaultEvent("Click")]
    [DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [ToolboxItemFilter("System.Windows.Forms")]
    [DesignerCategory("Component")]
    public class C1FlexGrid : C1FlexGridBase, IFlexDataGrid, C1.Win.CoditionalFormatting.IFormattableView  
    Remarks

    C1FlexGrid can be used in bound mode, where it displays data from .NET data sources, or in unbound mode, where the grid itself manages the data.

    You can use C1FlexGrid to read and write Excel files (.Xls), or read and write grid contents to and from Xml files.

    Classes derived from C1FlexGrid should have a LicenseProvider attribute so Visual Studio will embed the appropriate licensing information into projects that use the derived control.

    For example:

    [LicenseProvider(typeof(LicenseProvider))] public class MyGrid : C1FlexGrid { // implementation }
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl
                   C1.Win.C1FlexGrid.C1FlexGridBase
                      C1.Win.C1FlexGrid.C1FlexGrid
                         C1.Win.C1FlexGrid.Classic.C1FlexGridClassic

    See Also