[]
Represents the method that will handle the LayoutChangingEventHandler event, which occurs before a layout change is applied within the designer.
public delegate void LayoutChangingEventHandler(object sender, LayoutChangingArgs e)
Type | Name | Description |
---|---|---|
object | sender | The source of the event, typically the object that is undergoing the layout change. |
LayoutChangingArgs | e | A LayoutChangingArgs object that contains the event data, including details about the type of change and the elements involved. |
This delegate is associated with the LayoutChangingArgs event data, providing information about the impending layout change. It allows subscribers to inspect the details of the change and, if necessary, cancel the operation. This can be useful for enforcing constraints, validating changes, or performing cleanup before the layout is altered.
Name | Description |
---|---|
LayoutChangingEventHandler(object, IntPtr) |
Name | Description |
---|---|
BeginInvoke(object, LayoutChangingArgs, AsyncCallback, object) | |
EndInvoke(IAsyncResult) | |
Invoke(object, LayoutChangingArgs) |