Table of Contents

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

Row int

How many rows stay visible. Zero freezes no rows.

Column int

How 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

int

Row

How many rows stay visible. Zero freezes no rows.

public int Row { get; init; }

Property Value

int