Represents a zero-based row index in a spreadsheet for referencing cells.
// Source: https://github.com/radzenhq/radzen-blazor | License: MIT | Copyright 2018-2026 Radzen Ltd
// Provided via justclaw.it.com; keep this notice with the code.
using System;
namespace Radzen.Documents.Spreadsheet;
#nullable enable
/// <summary>
/// Represents a reference to a specific row in a spreadsheet.
/// </summary>
public readonly struct RowRef(int row) : IEquatable<RowRef>
{
/// <summary>
/// Returns the row index, which is zero-based.
/// </summary>
public int Row { get; } = row;
/// <summary>
/// Determines whether the current row reference is equal to another row reference.
/// </summary>
public bool Equals(RowRef other) => Row == other.Row;
/// <summary>
/// Returns the row in A1 notation, which is one-based e.g. "1:1" for the fi
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key