LayoutEngine.InitLayout(Object, BoundsSpecified) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化布局引擎。
public:
virtual void InitLayout(System::Object ^ child, System::Windows::Forms::BoundsSpecified specified);
public virtual void InitLayout(object child, System.Windows.Forms.BoundsSpecified specified);
abstract member InitLayout : obj * System.Windows.Forms.BoundsSpecified -> unit
override this.InitLayout : obj * System.Windows.Forms.BoundsSpecified -> unit
Public Overridable Sub InitLayout (child As Object, specified As BoundsSpecified)
参数
- child
- Object
布局引擎将在其上运行的容器。
- specified
- BoundsSpecified
定义容器大小和位置的边界。
例外
child 不是可以对其执行布局的类型 LayoutEngine 。
注解
(可选)在 InitLayout 方法中提供初始化逻辑。
继承者说明
重写方法 InitLayout(Object, BoundsSpecified) 以提供自定义初始化行为。