[]
Provides data for the EditModeEnteringEventHandler event. This class is sealed and cannot be inherited.
public sealed class EditModeEnteringEventArgs : EventArgs
The EditModeEnteringEventArgs class is used to provide event data for the EditModeEnteringEventHandler delegate, which is invoked when a control or component within the designer is about to enter edit mode. This event allows for pre-processing before the control enters edit mode, such as validation checks or setting the Cancel property to prevent edit mode from being entered.
Name | Description |
---|---|
EditModeEnteringEventArgs(object) | Initializes a new instance of the EditModeEnteringEventArgs class, specifying the control that is entering edit mode. |
Name | Description |
---|---|
Cancel | Gets or sets a value indicating whether the action of entering edit mode should be canceled. |
Control | Gets a value representing the control that is entering edit mode. |