ColumnRef Struct

Represents a reference to a column in a spreadsheet.

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public struct ColumnRef

Constructors

ColumnReflink

Represents a reference to a column in a spreadsheet.

Declaration
public ColumnRef(int column)
Parameters
Type Name Description
int column

Properties

Columnlink

Returns the column index for the column reference. The column index is zero-based, so the first column (A) corresponds to 0.

Declaration
public int Column { get; }
Property Value
Type Description
intReturns the column index for the column reference. The column index is zero-based, so the first column (A) corresponds to 0.

Methods

Equalslink

Checks if the column reference is equal to another column reference.

Declaration
public bool Equals(Documents.Spreadsheet.ColumnRef other)
Parameters
Type Name Description
Documents.Spreadsheet.ColumnRef other
Returns
Type Description
bool

Equalslink

Checks if the column reference is equal to another column reference.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool

GetHashCodelink

Declaration
public override int GetHashCode()
Returns
Type Description
int

ToStringlink

Returns a string representation of the column reference in A1 notation. For example, if the column reference is (0), it returns "A:A";

Declaration
public override string ToString()
Returns
Type Description
string

ToStringlink

Returns a string representation of the column reference in A1 notation. For example, if the column reference is (0), it returns "A:A";

Declaration
public static string ToString(int column)
Parameters
Type Name Description
int column
Returns
Type Description
string

Operators

operator !=link

Declaration
public static bool operator !=(Documents.Spreadsheet.ColumnRef left, Documents.Spreadsheet.ColumnRef right)
Parameters
Returns
Type Description
bool

operator ==link

Declaration
public static bool operator ==(Documents.Spreadsheet.ColumnRef left, Documents.Spreadsheet.ColumnRef right)
Parameters
Returns
Type Description
bool
An error has occurred. This app may no longer respond until reloaded. Reload 🗙