Experimental: this API is experimental and might be changed or removed in the future.

ScrollView.SetContents

Switch to Manual
public void SetContents (Experimental.UIElements.VisualElement contents);

Parameters

contentsThe element to display in this ScrollView

Description

Replaces the contentContainer with this element. The previous contents container will be removed the hierarchy