FocusManager.IsFocusScopeProperty 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
IsFocusScope識別所附財產。
public: static initonly System::Windows::DependencyProperty ^ IsFocusScopeProperty;
public static readonly System.Windows.DependencyProperty IsFocusScopeProperty;
staticval mutable IsFocusScopeProperty : System.Windows.DependencyProperty
Public Shared ReadOnly IsFocusScopeProperty As DependencyProperty
欄位值
備註
在 、 MenuWindow、 ToolBar上 ContextMenu 的IsFocusScope預設值為 true。
焦點範圍是會在其範圍內持續追蹤 FocusManager.FocusedElement 的容器元素。 預設情況下,職業 Window 是焦點範圍,還有 Menu、 ContextMenu和 ToolBar 類別。 一個作為焦點示波器的元素設定 IsFocusScope 為 true。
關於焦點、鍵盤焦點與邏輯焦點的更多資訊,請參閱 輸入概述。