Struct XlsxFreeze
- Namespace
- DocToolkit
- Assembly
- DocToolkit.Xlsx.dll
Where a sheet is frozen: how many rows and columns stay visible while scrolling.
public readonly record struct XlsxFreeze : IEquatable<XlsxFreeze>
- Implements
- Inherited Members
Remarks
A record struct rather than a class, because a two-int position has value semantics and
cannot meaningfully be null once present. Absence lives on FreezeAt being
null instead.
Constructors
XlsxFreeze(int, int)
Where a sheet is frozen: how many rows and columns stay visible while scrolling.
public XlsxFreeze(int Row, int Column)
Parameters
RowintHow many rows stay visible. Zero freezes no rows.
ColumnintHow many columns stay visible. Zero freezes no columns.
Remarks
A record struct rather than a class, because a two-int position has value semantics and
cannot meaningfully be null once present. Absence lives on FreezeAt being
null instead.
Properties
Column
How many columns stay visible. Zero freezes no columns.
public int Column { get; init; }
Property Value
Row
How many rows stay visible. Zero freezes no rows.
public int Row { get; init; }