Class StaticControlEvents
Provides static events which are related to AbstractControl and its descendants.
public static class StaticControlEvents
- Inheritance
-
StaticControlEvents
Properties
- HasLayoutHandlers
Gets a value indicating whether any handlers are registered for the
Layoutevent.
- HasRequestPreferredSizeHandlers
Gets a value indicating whether any handlers are registered for the
RequestPreferredSizeevent.
Methods
- RaiseCaretChanged(object?, EventArgs)
Raises the CaretChanged event.
- RaiseDataContextChanged(object?, EventArgs)
Raises the DataContextChanged event with the specified sender and event data.
- RaiseDisposed(object?, EventArgs)
Raises the Disposed event to notify subscribers that a control has been disposed.
- RaiseFocusedChanged(object?, EventArgs)
Raises the FocusedChanged event.
- RaiseHoveredChanged(object?, EventArgs)
Raises the HoveredChanged event.
- RaiseLayout(object?, DefaultLayoutEventArgs)
Raises the Layout event.
- RaiseMouseHover(object?, EventArgs)
Raises the MouseHover event.
- RaiseNameChanged(object?, EventArgs)
Raises the NameChanged event with the specified sender and event data.
- RaiseParentChanged(object?, EventArgs)
Raises the ParentChanged event.
- RaiseRequestPreferredSize(object?, DefaultPreferredSizeEventArgs)
Raises the RequestPreferredSize event.
- RaiseVisibleChanged(object?, EventArgs)
Raises the VisibleChanged event.
- RaiseWindowDpiChanged(object?, EventArgs)
Raises the WindowDpiChanged event.
Events
- CaretChanged
Occurs when control's caret is changed.
- DataContextChanged
Occurs when the data context of the associated object changes.
- Disposed
Occurs when the control has been disposed and its resources have been released.
- FocusedChanged
Occurs when focused control is changed.
- HoveredChanged
Occurs when hovered control is changed. Control is hovered when mouse pointer is over it.
- Layout
Occurs when the control should reposition its child controls.
- MainWindowDpiChanged
Occurs when the DPI setting of the main window changes.
- MouseHover
Occurs when the mouse pointer hovers over a specific element or area.
- NameChanged
Occurs when the name is changed.
- ParentChanged
Occurs when the parent of the control changes.
- RequestPreferredSize
Occurs inside GetPreferredSize(PreferredSizeContext) method.
- VisibleChanged
Occurs when the control changes its Visible property.
- WindowDpiChanged
Occurs when the DPI setting of the window changes.