語言

HwndSourceParameters.TreatAsInputRoot 屬性

定義

取得或設定一個值,指示是否 HwndSource 應該透過 ComponentDispatcher。

public:
 property bool TreatAsInputRoot { bool get(); void set(bool value); };
public bool TreatAsInputRoot { get; set; }
member this.TreatAsInputRoot : bool with get, set
Public Property TreatAsInputRoot As Boolean

屬性值

true 若 應 HwndSource 透過 ;接收由訊息泵 ComponentDispatcher所提出的視窗訊息;否則, false。 如果 對true應頂層視窗,預設為 HwndSource ;否則,預設為 false。

適用於