Back to Devexpress

SpreadsheetControl.PanesFrozen Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-b90a81ba.md

latest2.5 KB
Original Source

SpreadsheetControl.PanesFrozen Event

Occurs when freezing a worksheet area via the control’s UI.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event PanesFrozenEventHandler PanesFrozen
vb
Public Event PanesFrozen As PanesFrozenEventHandler

Event Data

The PanesFrozen event's data class is PanesFrozenEventArgs. The following properties provide information specific to this event:

PropertyDescription
ColumnOffsetGets the offset of the last frozen column relative to the first column in a worksheet or the left-most column with the specified cell from where freezing starts.
RowOffsetGets the offset of the last frozen row relative to the first row in a worksheet or the top row with the specified cell from where freezing starts.
TopLeftGets the cell contained in a top frozen row and/or left-most frozen column from where freezing starts.

Remarks

Handle the PanesFrozen event to perform specific actions when an end-user locks (freezes) rows and columns on a worksheet via the control’s UI.

Note

By default, the PanesFrozen event does not occur when rows and columns are frozen in code. However, this event will also be triggered by changes made via an API if you set the WorkbookEventOptions.RaiseOnModificationsViaAPI property (accessible via the SpreadsheetControl.Options.Events.RaiseOnModificationsViaAPI notation) to true.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace