Control.Created Property

Definition

获取一个值,该值指示控件是否已经创建。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

Property Value

Boolean

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

Attributes

Remarks

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

Applies to

See also