Xceed Workbooks for .NET v1.4 Documentation
ColumnCellCollection Class
Members  Example 


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace : ColumnCellCollection Class
This collection represents the collection of Cell for a specific column.
Object Model
ColumnCellCollection ClassCell Class
Syntax
'Declaration

 

<DefaultMemberAttribute("Item")>

Public Class ColumnCellCollection 

   Inherits WorksheetElement
'Usage

 

Dim instance As ColumnCellCollection
[DefaultMember("Item")]

public class ColumnCellCollection : WorksheetElement 
Example
using( var doc = Workbook.Load( "test.xlsx") )

  {

    var worksheet = doc.Worksheets[ 0 ];        

    worksheet.Columns[ “B” ].Cells[ 0 ].Value = 25d;    // Sets “B1”

    doc.Save();

  }
Inheritance Hierarchy

System.Object
   Xceed.Workbooks.NET.WorkbookElement
      Xceed.Workbooks.NET.WorksheetElement
         Xceed.Workbooks.NET.ColumnCellCollection

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ColumnCellCollection Members
Xceed.Workbooks.NET Namespace