ScrollViewer.SetCanContentRenderOutsideBounds 方法

定义

设置指定元素上的 CanContentRenderOutsideBounds 依赖属性/ ScrollViewer.CanContentRenderOutsideBounds XAML 附加属性的值。

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

参数

element
DependencyObject

要在其上设置属性值的元素。

canContentRenderOutsideBounds
Boolean

bool

要设置的值。

注解

有关详细信息,请参阅 CanContentRenderOutsideBounds 属性。

适用于

另请参阅