Control.Created 属性

定义

获取一个值,该值指示控件是否已经创建。Gets a value indicating whether the control has been created.

public:
 property bool Created { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool Created { get; }
member this.Created : bool
Public ReadOnly Property Created As Boolean

属性值

如果已创建控件,则为 true;否则为 falsetrue if the control has been created; otherwise, false.

属性

注解

如果已成功创建了 Control (即使尚未创建或重新创建控件的句柄),则 Created 属性返回 trueThe Created property returns true if the Control was successfully created even though the control's handle might not have been created or recreated yet.

适用于

另请参阅