Control.IsHandleCreated Control.IsHandleCreated Control.IsHandleCreated Control.IsHandleCreated Property

定義

取得指示控制項是否有相關控制代碼的值。Gets a value indicating whether the control has a handle associated with it.

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

屬性值

如果為控制項指定了控制代碼,則為 true,否則為 falsetrue if a handle has been assigned to the control; otherwise, false.

備註

使用IsHandleCreated屬性來判斷是否CreateHandle已呼叫。Use the IsHandleCreated property to determine whether CreateHandle has been called.

適用於

另請參閱