|
|
|
|
HorizontalOffsetRight Property, SftTree Class |
Defines the current horizontal scrolling offset in the right pane.
Syntax SftTree Class (Softelvdm.SftTreeNET)
VB |
Public Property HorizontalOffsetRight As Integer |
C# |
public int HorizontalOffsetRight { get; set; } |
C++ |
public: property int HorizontalOffsetRight { |
Property Value
Defines the current horizontal scrolling offset. If this value is greater than the HorizontalExtentRight property, the value is adjusted to scroll to the rightmost position possible.
The default value is 0.
Comments
The HorizontalOffsetRight property 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 (ScrollbarHorizontal property). The width of the displayable area can be set by the application using the RecalcHorizontalExtent method or the HorizontalExtentRight property. For performance reasons, the optimal width is not automatically calculated when adding items to a tree control.
The HorizontalOffsetRight property defines the horizontal scrolling offset of the displayable area in the right pane of a split tree control. The HorizontalOffsetRight property can only be used with a split tree control.
A tree control can only be scrolled horizontally if its displayable area (see HorizontalExtentRight property) is wider than the tree control window.