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

Задаваемое значение.

Требования к Windows

Семейство устройств
Windows 10, version 1809 (появилось в 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v7.0)

Комментарии

Дополнительные сведения см. в описании свойства CanContentRenderOutsideBounds .

Применяется к

См. также раздел