콘텐츠로 이동

FocusManager class

이 콘텐츠는 아직 번역되지 않았습니다.

Manages keyboard focus within a window.

public sealed class FocusManager
name description
FocusedElement { get; } Gets the currently focused element.
ClearFocus() Clears focus from the current element.
MoveFocusNext() Moves focus to the next focusable element.
MoveFocusPrevious() Moves focus to the previous focusable element.
SetFocus(…) Sets focus to the specified element after resolving its default focus target; returns false when the element cannot take focus. (2 methods)