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

VisualElementExtensions.StretchToParentWidth

切换到手册
public static void StretchToParentWidth (Experimental.UIElements.VisualElement elem);

描述

给定 VisualElement 的左右边缘将与父元素的相应边缘对齐。