Class CellSpanInfo
This a base class for spanned ranges such as covered cells and cell spanned backgrounds. It contains Top, Left, Bottom and Right row and column index for the spanned range.
Inherited Members
Namespace: Syncfusion.Windows.Forms.CellGrid
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class CellSpanInfo : CellSpanInfoBase, IComparable<CellSpanInfoBase>, IComparable
Constructors
CellSpanInfo()
Initializes a new instance of the CellSpanInfo class.
Declaration
public CellSpanInfo()
CellSpanInfo(Int32, Int32, Int32, Int32)
Initializes a new instance of the CellSpanInfo class.
Declaration
public CellSpanInfo(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. |
CellSpanInfo(Int32, Int32, Int32, Int32, Boolean, Boolean)
Initializes a new instance of the CellSpanInfo class.
Declaration
public CellSpanInfo(int top, int left, int bottom, int right, bool clipRows, bool clipColumns)
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. |
System.Boolean | clipRows | if set to |
System.Boolean | clipColumns | if set to |
Properties
ClipColumns
Gets or sets a value indicating whether to allow estimates for out of view columns when calculating the height in points for the spanned range.
Declaration
public bool ClipColumns { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ClipRows
Gets or sets a value indicating whether to allow estimates for out of view rows when calculating the height in points for the spanned range.
Declaration
public bool ClipRows { 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 |