-
-
Notifications
You must be signed in to change notification settings - Fork 437
WorksheetSettings.Behavior_DoubleClickToFitColumnWidth has no effect in ReoGridWPF.dll 3.3.0 #552
Description
Description
Calling worksheet.SetSettings(WorksheetSettings.Behavior_DoubleClickToFitColumnWidth, true); does not enable the expected behavior. When double-clicking on a column header separator, the column width does not auto-adjust to fit the content.
Expected Behavior:
When the setting Behavior_DoubleClickToFitColumnWidth is enabled, double-clicking on the boundary between column headers should resize the column to fit its content, similar to Excel.
Actual Behavior:
Double-clicking on the column header boundary has no effect. The column width remains unchanged.
Reproduction Steps:
-
Create a WPF project using ReoGridWPF.dll 3.3.0 and .NET 8.
-
Initialize a worksheet and add some data.
-
Call: worksheet.SetSettings(WorksheetSettings.Behavior_DoubleClickToFitColumnWidth, true);
-
Run the application.
-
Double-click the boundary between column headers (e.g., between A and B).
Result: Column width does not change.
Edition
- WPF
- Version: 3.3.0
Environment
- .NET Version: .NET 8
- OS: Windows 11 Pro (64-bit)
- Language of OS: English