UIElement.HasEffectiveKeyboardFocus プロパティ
定義
protected public:
virtual property bool HasEffectiveKeyboardFocus { bool get(); };
protected internal virtual bool HasEffectiveKeyboardFocus { get; }
member this.HasEffectiveKeyboardFocus : bool
Protected Friend Overridable ReadOnly Property HasEffectiveKeyboardFocus As Boolean
プロパティ値
UIElement にフォーカスがある場合は true
。それ以外の場合は false
。true
if the UIElement has focus; otherwise, false
.
注釈
サブクラスは、このプロパティをオーバーライドして、要素にキーボードフォーカスがあることを指定できます。Subclasses can override this property to specify when the element has keyboard focus. これは、に UIElement キーボードフォーカスを持つ要素が含まれていて、要素にフォーカスがあることを報告する必要がある場合に便利です。This is useful when your UIElement contains elements that can have keyboard focus and you want your element to report that it has focus.