[]
Provides data for events raised when a child control is about to be repositioned by the push-content layout logic.
public class PushContentControlEventArgs : CancelEventArgs
Public Class PushContentControlEventArgs
Inherits CancelEventArgs
Handlers can use this event data to inspect the control being moved, compare its original and proposed bounds, override the final bounds, or cancel the movement.
| Name | Description |
|---|---|
| PushContentControlEventArgs(Control, Rectangle, Rectangle) | Initializes a new instance of the PushContentControlEventArgs class. |
| Name | Description |
|---|---|
| Control | Gets the control that is about to be repositioned. |
| NewBounds | Gets or sets the bounds that will be applied to the control. Handlers can modify this value to override the proposed position. |
| OriginalBounds | Gets the original bounds of the control before the push-content layout is applied. |
| ProposedBounds | Gets the bounds proposed by the push-content layout algorithm. |