Bagikan melalui


ScrollViewer.SetCanContentRenderOutsideBounds Metode

Definisi

Mengatur nilai properti dependensi CanContentRenderOutsideBounds / ScrollViewer.CanContentRenderOutsideBounds properti terlampir XAML pada elemen tertentu.

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)

Parameter

element
DependencyObject

Elemen untuk mengatur nilai properti.

canContentRenderOutsideBounds
Boolean

bool

Nilai yang akan ditetapkan.

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1809 (diperkenalkan dalam 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v7.0)

Keterangan

Untuk informasi selengkapnya, lihat properti CanContentRenderOutsideBounds .

Berlaku untuk

Lihat juga