Partager via


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

'Déclaration
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: System.Double
The y-coordinate of the viewport's top edge.

.NET Framework Security

See Also

Reference

ViewState Class

Microsoft.VisualStudio.Text.Editor Namespace