VisualElementExtensions.StretchToParentWidth

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.