This version of Unity is unsupported.

VisualElementExtensions.StretchToParentWidth

Declaration

public static void StretchToParentWidth(UIElements.VisualElement elem);

Description

The given VisualElement's left and right edges will be aligned with the corresponding edges of the parent element.