IKeyboardInputSink.HasFocusWithin IKeyboardInputSink.HasFocusWithin IKeyboardInputSink.HasFocusWithin IKeyboardInputSink.HasFocusWithin Method

Definición

Obtiene un valor que indica si el receptor o uno de los componentes que contiene tiene el foco.Gets a value that indicates whether the sink or one of its contained components has focus.

public:
 bool HasFocusWithin();
public bool HasFocusWithin ();
abstract member HasFocusWithin : unit -> bool
Public Function HasFocusWithin () As Boolean

Devoluciones

true si el receptor o uno de los componentes que contiene tiene el foco; de lo contrario, false.true if the sink or one of its contained components has focus; otherwise, false.

Comentarios

Este método es necesario para el reenvío de TranslateAccelerator las llamadas a los componentes secundarios con el foco desde el TranslateAccelerator implementación.This method is necessary for forwarding TranslateAccelerator calls to child components with focus from within the TranslateAccelerator implementation. Llame a HasFocusWithin recursivamente hasta que alcance el nivel de foco concreto y avance TranslateAccelerator no existe.Call HasFocusWithin recursively until you reach the level of specific focus and forward TranslateAccelerator there.

Se aplica a

Consulte también: