次の方法で共有


ViewState.ViewportWidth Property

Gets the width of the viewport.

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

Syntax

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

Property Value

Type: System.Double
The width of the viewport.

.NET Framework Security

See Also

Reference

ViewState Class

Microsoft.VisualStudio.Text.Editor Namespace