Column class represents a column properties of a single column in a worksheet

C# | Visual Basic | Visual C++ |
public class Column
Public Class Column
public ref class Column

All Members | Methods | Properties | |||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() |
GetType()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Hidden |
Gets or sets the hidden status of the column
|
![]() |
MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Style |
Gets or sets the XmlStyle reference of the column.
Setting this option only affects cells which are added after this value is set. The cells which are added in the same column retain their original style settings. |
![]() |
ToString()()() | Returns a String that represents the current Object. (Inherited from Object.) |
![]() |
Width |
Gets or sets the default width of the column
|

Column class represents a column properties of a single column in a worksheet.
You cannot directly declare a instance of a column class from your code by using new keyword. The only way to access a column is to retrieve it from a worksheet by using the Columns(Int32) method of the Worksheet class.

Object | |
![]() |
Column |