IVerticalScrollBar Interface

 

Represents a vertical scroll bar.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public interface IVerticalScrollBar

NameDescription
System_CAPS_pubpropertyMap

Gets the mapping between the text position and the scrollbar coordinate for the scrollbar.

System_CAPS_pubpropertyThumbHeight

Gets the height of the scrollbar thumb in pixels.

System_CAPS_pubpropertyTrackSpanBottom

Gets the y-coordinate of the bottom of the scrollbar track as it is rendered in the display (excluding the scroll buttons at the top and bottom).

System_CAPS_pubpropertyTrackSpanHeight

Gets the height of the scrollbar track as it is rendered in the display (excluding the scroll buttons at the top and bottom).

System_CAPS_pubpropertyTrackSpanTop

Gets the y-coordinate of the top of the scrollbar track as it is rendered in the display (excluding the scroll buttons at the top and bottom).

NameDescription
System_CAPS_pubmethodGetBufferPositionOfYCoordinate(Double)

Gets the buffer position that corresponds to a y-coordinate in the scrollbar track.

System_CAPS_pubmethodGetYCoordinateOfBufferPosition(SnapshotPoint)

Gets the y-coordinate in the scrollbar track that corresponds to a buffer position.

System_CAPS_pubmethodGetYCoordinateOfScrollMapPosition(Double)

Gets the y-coordinate in the scrollbar track that corresponds to a position in scroll map coordinates.

NameDescription
System_CAPS_pubeventTrackSpanChanged

Occurs when the span of the scrollbar track dimensions is changed. For example, they could change as a result of resizing the view.

For information about extending margins and scrollbars, see the "Extending Margins and Scrollbars" section in Editor Extension Points.

Return to top
Show: