DataGridRowsPresenter.OnViewportSizeChanged Method (Size, Size)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Called when the size of the viewport changes.

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

protected override void OnViewportSizeChanged(
	Size oldViewportSize,
	Size newViewportSize
)

Parameters

oldViewportSize
Type: System.Windows.Size

The old size of the viewport.

newViewportSize
Type: System.Windows.Size

The new size of the viewport.

.NET Framework
Available since 4.0
Return to top
Show: