Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExtentWidth Property

ScrollViewer.ExtentWidth Property

Gets a value that contains the horizontal size of the extent. This is a dependency property.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double ExtentWidth { get; }
You cannot set this property in XAML.

Property Value

Type: System.Double
A Double that represents the horizontal size of the extent. The default is 0.0.

Identifier field

ExtentWidthProperty

Metadata properties set to true

None

ExtentWidth is only an output property; it can effectively be set by specifying the Width of the content element.

The returned value is described in Device Independent Pixels.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2015 Microsoft