Compartir a través de


ViewState.ViewportTop Property

Gets the y-coordinate of the viewport's top edge.

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

Syntax

'Declaration
Public Property ViewportTop As Double
public double ViewportTop { get; private set; }
public:
property double ViewportTop {
    double get ();
    private: void set (double value);
}
member ViewportTop : float with get, private set
function get ViewportTop () : double 
private function set ViewportTop (value : double)

Property Value

Type: Double
The y-coordinate of the viewport's top edge.

.NET Framework Security

See Also

Reference

ViewState Class

Microsoft.VisualStudio.Text.Editor Namespace