Click or drag to resize

WorksheetControllerAdjustXScrollBarViewPortSize Method

Adjusts the X scroll bar view port size (=size of the thumb). Should be called after the XScrollbarMaximum is adusted or when the width of the columns changed considerably. Here, we want to avoid that the thumb size changed when we scroll through the worksheet. Thus, we calculate a average value for the thumb size that is relation of the table area width and the total width of all data columns.

Namespace: Altaxo.Gui.Worksheet.Viewing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void AdjustXScrollBarViewPortSize()
See Also