LayoutEngine 构造函数

定义

初始化 LayoutEngine 类的新实例。Initializes a new instance of the LayoutEngine class.

protected:
 LayoutEngine();
protected LayoutEngine ();
Protected Sub New ()

继承者说明

布局引擎关联的容器类的任何实例的布局行为都应该相同。Layout behavior should be the same for any instance of your layout engine's associated container class. 出于此原因, 请考虑声明布局引擎的构造protected函数private或, 并将布局引擎实现为单独类。For this reason, consider declaring your layout engine's constructor protected or private, and implementing your layout engine as a singleton class.

适用于