[]
Provides data for the event that is raised when a control or component is leaving edit mode within the designer environment. This class is sealed and cannot be inherited.
public sealed class EditModeExitEventArgs : EventArgs
The EditModeExitEventArgs class encapsulates information necessary for handling the transition of a control or component out of edit mode, including the control itself and the manner in which it is exiting edit mode. This event data is crucial for scenarios where specific actions need to be taken based on how or why the control is leaving edit mode, such as validation, cleanup, or state preservation.
Name | Description |
---|---|
EditModeExitEventArgs(object, ExitType) | Initializes a new instance of the EditModeExitEventArgs class, specifying the control that is leaving edit mode and the exit type. |
Name | Description |
---|---|
Control | Gets a value representing the control or component that is leaving edit mode. |
Type | Gets a value representing the manner in which the control or component is exiting edit mode. |