Control. Perform Auto Scale 方法
执行对容器控件及其子级的缩放。Performs scaling of the container control and its children.
public: void PerformAutoScale();
public void PerformAutoScale ();
member this.PerformAutoScale : unit -> unit
Public Sub PerformAutoScale ()
PerformAutoScale通常只在运行时以编程方式更改布局后才需要显式调用方法。An explicit call to the PerformAutoScale method is typically only required after programmatic changes to the layout during run time. PerformAutoScale 从方法隐式调用 OnLayout 。PerformAutoScale is implicitly called from the OnLayout method.
PerformAutoScale 是递归的;每个子控件（如果它是容器）将具有其在容器的版本执行时调用的此方法的版本。PerformAutoScale is recursive; each child control, if it is a container, will have its version of this method called when the container's version executes.