HwndSourceParameters.TreatAsInputRoot 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示是否 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。