Class CoveredCellInfo
Represents a class which holds the range and options for a covered cell. A covered cell is a cell that spans over neighbouring cells. All cells in this range are treated as one single cell.
Inherited Members
Namespace: Syncfusion.Windows.Forms.CellGrid
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class CoveredCellInfo : CellSpanInfo, IComparable<CellSpanInfoBase>, IComparable
Constructors
CoveredCellInfo()
Initializes a new instance of the CoveredCellInfo class.
Declaration
public CoveredCellInfo()
CoveredCellInfo(Int32, Int32, Int32, Int32)
Initializes a new instance of the CoveredCellInfo class.
Declaration
public CoveredCellInfo(int top, int left, int bottom, int right)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | top | The top row index. |
System.Int32 | left | The left column index. |
System.Int32 | bottom | The bottom row index. |
System.Int32 | right | The right column index. |
Properties
SpanWholeColumn
Gets or sets a value indicating whether the covered cell spans the whole column.
Declaration
public bool SpanWholeColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
SpanWholeRow
Gets or sets a value indicating whether the covered cell spans the whole row.
Declaration
public bool SpanWholeRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current System.Object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current System.Object. |
Overrides
ToString()
Returns a string describing the state of the object.
Declaration
public override string ToString()
Returns
Type |
---|
System.String |