ScrollViewer.SetCanContentRenderOutsideBounds Method

Definition

Sets the value of the CanContentRenderOutsideBounds dependency property / ScrollViewer.CanContentRenderOutsideBounds XAML attached property on a specified element.

C#
public static void SetCanContentRenderOutsideBounds(DependencyObject element, bool canContentRenderOutsideBounds);

Parameters

element
DependencyObject

The element on which to set the property value.

canContentRenderOutsideBounds
Boolean

The value to set.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

For more info, see the CanContentRenderOutsideBounds property.

Applies to

Product Versions
WinRT Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also