IScrollMap.ThumbSize Property

Gets the size of the text visible in the view (in scrollmap coordinates).

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

double ThumbSize { get; }

Property Value

Type: System.Double
The size of the text visible in the view.

This is equivalent to the scrollbar thumb size. The total height of the scroll map, in scrollmap coordinates, is CoordinateOfBufferEnd + ThumbSize.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft