共用方式為


FocusEventArgs Class

Definition

Event args for VisualElement's Focused and Unfocused events.

public class FocusEventArgs : EventArgs
type FocusEventArgs = class
    inherit EventArgs
Inheritance
System.EventArgs
FocusEventArgs

Constructors

FocusEventArgs(VisualElement, Boolean)

Constructs and initializes a new instance of the FocusEventArgs class.

Properties

IsFocused

Gets whether or not the VisualElement was focused.

VisualElement

Gets the VisualElement who's focused was changed.

Applies to