Modifier

Partager via


ScrollViewer.ViewportWidth Property

Definition

Gets a value that contains the horizontal size of the content's viewport.

public:
 property double ViewportWidth { double get(); };
public double ViewportWidth { get; }
member this.ViewportWidth : double
Public ReadOnly Property ViewportWidth As Double

Property Value

A Double that represents the horizontal size of the content's viewport. The default is 0.0.

Remarks

The viewport is the visible area of the content.

Dependency Property Information

Identifier field ViewportWidthProperty
Metadata properties set to true None

Applies to