HeaderPane
Main
Hide
Share Link
Print

HorizontalOffsetRight Property, ListClass Class

Defines the current horizontal scrolling offset in the right pane.

Class: ListClass
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

Syntax

public int HorizontalOffsetRight { get; set; }
Public Property HorizontalOffsetRight As Integer

Value

Defines the current horizontal scrolling offset. If this value is greater than the ListClass.HorizontalExtentRight property, the value is adjusted to scroll to the rightmost position possible.

The default value is 0.

Comments

Defines the current horizontal scrolling offset in the right pane.

A tree control's displayable area can be wider than the tree control's window width. If the displayable area is wider, the tree control can be scrolled horizontally if it has a horizontal scroll bar (ListClass.ScrollbarHorizontal property). The width of the displayable area can be set by the application using the ListClass.RecalcHorizontalExtent method or the ListClass.HorizontalExtentRight property. For performance reasons, the optimal width is not automatically calculated when adding items to a tree control.

The ListClass.HorizontalOffsetRight property defines the horizontal scrolling offset of the displayable area in the right pane of a split tree control. The ListClass.HorizontalOffsetRight property can only be used with a split tree control.

A tree control can only be scrolled horizontally if its displayable area (see ListClass.HorizontalExtentRight property) is wider than the tree control window.

If the PixelScaling property is set to PixelScalingEnum.Stretch, the value is a value for 96 DPI.

See Also ListClass Class | Classes | SftBox/NET 3.0