Class ColumnLayoutBox
Defines the positioned rectangular bounds of an entire column for rendering and hit-testing operations.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Layout
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ColumnLayoutBox : LayoutBox
Constructors
ColumnLayoutBox(Int32, Rect)
Initializes a new instance of the ColumnLayoutBox class.
Declaration
public ColumnLayoutBox(int columnIndex, Rect rect)
Parameters
|
System.Int32
columnIndex
Index of the column. |
|
System.Windows.Rect
rect
The rectangle. |
Properties
ColumnIndex
Zero-based position of this column in the worksheet grid.
Declaration
public int ColumnIndex { get; }
Property Value
|
System.Int32
The index of the column. |
Methods
Equals(Object)
Compares this column layout box with another based on column index.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Generates a hash code based on the column index.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |
Overrides
ToString()
Converts the column layout box to a string showing its index and bounding rectangle.
Declaration
public override string ToString()
Returns
|
System.String
A System.String that represents the current System.Object. |