ScrollViewer.SetCanContentRenderOutsideBounds(DependencyObject, Boolean) ScrollViewer.SetCanContentRenderOutsideBounds(DependencyObject, Boolean) ScrollViewer.SetCanContentRenderOutsideBounds(DependencyObject, Boolean) ScrollViewer.SetCanContentRenderOutsideBounds(DependencyObject, Boolean) Method

Definition

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

public : static void SetCanContentRenderOutsideBounds(DependencyObject element, bool canContentRenderOutsideBounds)
static void SetCanContentRenderOutsideBounds(DependencyObject element, bool canContentRenderOutsideBounds) const;
public static void SetCanContentRenderOutsideBounds(DependencyObject element, Boolean canContentRenderOutsideBounds)
Public Shared Sub SetCanContentRenderOutsideBounds(element As DependencyObject, canContentRenderOutsideBounds As Boolean)

Parameters

element
DependencyObject DependencyObject

The element on which to set the property value.

canContentRenderOutsideBounds
Boolean Boolean

The value to set.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

For more info, see the CanContentRenderOutsideBounds property.

See also