ScrollViewer.CanContentRenderOutsideBounds 属性

定义

获取或设置一个值,该值指示滚动内容是否可以在 ScrollViewer 的边界之外呈现。

public:
 property bool CanContentRenderOutsideBounds { bool get(); void set(bool value); };
bool CanContentRenderOutsideBounds();

void CanContentRenderOutsideBounds(bool value);
public bool CanContentRenderOutsideBounds { get; set; }
var boolean = scrollViewer.canContentRenderOutsideBounds;
scrollViewer.canContentRenderOutsideBounds = boolean;
Public Property CanContentRenderOutsideBounds As Boolean

属性值

Boolean

bool

如果滚动内容可以呈现在 ScrollViewer 边界之外,则为 true;否则为 false。 默认值为 false

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

适用于