protected Rectangle ViewRectangle { get; }
'Declaration Protected Read Property ViewRectangle As Rectangle
VB
Dim rect As Rectangle = viewport.ViewRectangle