共用方式為


LostFocusEventArgs Class

Definition

Event arguments for the LostFocus event, which originates as a WM_KILLFOCUS message from a System.Windows.Forms.Control. In addition to the DiagramEventArgs this holds the handles of the window getting and the window losing focus.

public ref class LostFocusEventArgs : Microsoft::VisualStudio::Modeling::Diagrams::DiagramEventArgs
public class LostFocusEventArgs : Microsoft.VisualStudio.Modeling.Diagrams.DiagramEventArgs
type LostFocusEventArgs = class
    inherit DiagramEventArgs
Public Class LostFocusEventArgs
Inherits DiagramEventArgs
Inheritance
LostFocusEventArgs

Constructors

LostFocusEventArgs(IntPtr, IntPtr, DiagramClientView)

Constructor takes window identifiers as well as the DiagramClientView.

Properties

DiagramClientView

Gets the DiagramClientView that the DiagramEventArgs originated from.

(Inherited from DiagramEventArgs)
Handled

Gets or sets a value indicating whether this event has been handled.

(Inherited from DiagramEventArgs)
WindowGettingFocus

The handle of the window that will get keyboard focus after this event is processed.

WindowLosingFocus

The handle of the window that is losing focus as a result of this event.

Applies to