The MainWindow type exposes the following members.
Back to Top
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when a window becomes the foreground window. (Inherited from ![]() |
![]() | ![]() | Occurs when the window is about to close. (Inherited from ![]() |
![]() | ![]() | Occurs directly after (Inherited from ![]() ![]() |
![]() | ![]() | Occurs after a window's content has been rendered. (Inherited from ![]() |
![]() | ![]() | Occurs just before any context menu on the element is closed. (Inherited from ![]() |
![]() | ![]() | Occurs when any context menu on the element is opened. (Inherited from ![]() |
![]() | ![]() | Occurs when the data context for this element changes. (Inherited from ![]() |
![]() | ![]() | Occurs when a window becomes a background window. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drag event with this element as the drag target. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drag event with this element as the drag origin. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drag event with this element as the potential drop target. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drop event with this element as the drop target. (Inherited from ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drag-and-drop event that involves this element. (Inherited from ![]() |
![]() | ![]() | Occurs when this element gets logical focus. (Inherited from ![]() |
![]() | ![]() | Occurs when the keyboard is focused on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when this element captures the mouse. (Inherited from ![]() |
![]() | ![]() | Occurs when this element captures the stylus. (Inherited from ![]() |
![]() | ![]() | Occurs when a touch is captured to this element. (Inherited from ![]() |
![]() | ![]() | Occurs when this (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when a key is pressed while focus is on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a key is released while focus is on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the layout of the various visual elements associated with the current (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the element is laid out, rendered, and ready for interaction. (Inherited from ![]() |
![]() | ![]() | Occurs when the window's location changes. (Inherited from ![]() |
![]() | ![]() | Occurs when this element loses logical focus. (Inherited from ![]() |
![]() | ![]() | Occurs when the keyboard is no longer focused on this element,. (Inherited from ![]() |
![]() | ![]() | Occurs when this element loses mouse capture. (Inherited from ![]() |
![]() | ![]() | Occurs when this element loses stylus capture. (Inherited from ![]() |
![]() | ![]() | Occurs when this element loses a touch capture. (Inherited from ![]() |
![]() | ![]() | Occurs when the manipulation encounters a boundary. (Inherited from ![]() |
![]() | ![]() | Occurs when a manipulation and inertia on the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the input device changes position during a manipulation. (Inherited from ![]() |
![]() | ![]() | Occurs when the input device loses contact with the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when an input device begins a manipulation on the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the manipulation processor is first created. (Inherited from ![]() |
![]() | ![]() | Occurs when a mouse button is clicked two or more times. (Inherited from ![]() |
![]() | ![]() | Occurs when any mouse button is pressed while the pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the mouse pointer enters the bounds of this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the mouse pointer leaves the bounds of this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the left mouse button is pressed while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the left mouse button is released while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the mouse pointer moves while over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the right mouse button is pressed while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the right mouse button is released while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when any mouse button is released over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drag event with this element as the drag target. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drag event with this element as the drag origin. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drag event with this element as the potential drop target. (Inherited from ![]() |
![]() | ![]() | Occurs when the input system reports an underlying drop event with this element as the drop target. (Inherited from ![]() |
![]() | ![]() | Occurs when a drag-and-drop operation is started. (Inherited from ![]() |
![]() | ![]() | Occurs when the keyboard is focused on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a key is pressed while focus is on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a key is released while focus is on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the keyboard is no longer focused on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a user clicks the mouse button two or more times. (Inherited from ![]() |
![]() | ![]() | Occurs when any mouse button is pressed while the pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the left mouse button is pressed while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the left mouse button is released while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the mouse pointer moves while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the right mouse button is pressed while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the right mouse button is released while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when any mouse button is released while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus button is pressed while the pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus button is released while the pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus touches the digitizer while it is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus moves over an element without actually touching the digitizer. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the stylus is too far from the digitizer to be detected. (Inherited from ![]() |
![]() | ![]() | Occurs when a user performs one of several stylus gestures. (Inherited from ![]() |
![]() | ![]() | Occurs when the user raises the stylus off the digitizer while the stylus is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when this element gets text in a device-independent manner. (Inherited from ![]() |
![]() | ![]() | Occurs when a finger touches the screen while the finger is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a finger moves on the screen while the finger is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a finger is raised off of the screen while the finger is over this element. (Inherited from ![]() |
![]() | PropertyChanged |
Event to be thrown if a property is changes
|
![]() | ![]() | Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (Inherited from ![]() |
![]() | ![]() | Occurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position. (Inherited from ![]() |
![]() | ![]() | Occurs when (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | This event is raised to support interoperation with Win32. See (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the source value changes for any existing property binding on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the window's (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the stylus button is pressed while the pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus button is released while the pointer is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus touches the digitizer while the stylus is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus enters the bounds of this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus moves over an element without actually touching the digitizer. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus leaves the bounds of the element. (Inherited from ![]() |
![]() | ![]() | Occurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the stylus is too far from the digitizer to be detected, while over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a user performs one of several stylus gestures. (Inherited from ![]() |
![]() | ![]() | Occurs when the user raises the stylus off the digitizer while it is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the target value changes for any property binding on this element. (Inherited from ![]() |
![]() | ![]() | Occurs when this element gets text in a device-independent manner. (Inherited from ![]() |
![]() | ![]() | Occurs just before any tooltip on the element is closed. (Inherited from ![]() |
![]() | ![]() | Occurs when any tooltip on the element is opened. (Inherited from ![]() |
![]() | ![]() | Occurs when a finger touches the screen while the finger is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a touch moves from outside to inside the bounds of this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a touch moves from inside to outside the bounds of this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a finger moves on the screen while the finger is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when a finger is raised off of the screen while the finger is over this element. (Inherited from ![]() |
![]() | ![]() | Occurs when the element is removed from within an element tree of loaded elements. (Inherited from ![]() |
See Also