Control.IsHandleCreated 屬性
定義
取得指示控制項是否有相關控制代碼的值。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
,否則為 false
。true
if a handle has been assigned to the control; otherwise, false
.
- 屬性
備註
使用 IsHandleCreated 屬性來判斷是否已呼叫 CreateHandle。Use the IsHandleCreated property to determine whether CreateHandle has been called.