[]
        
(Showing Draft Content)

C1.Win.Command.HamburgerMenu.PushContentControlEventArgs

PushContentControlEventArgs Class

Provides data for events raised when a child control is about to be repositioned by the push-content layout logic.

Inheritance
PushContentControlEventArgs
Namespace: C1.Win.Command.HamburgerMenu
Assembly: C1.Win.Command.HamburgerMenu.4.8.dll
Syntax
public class PushContentControlEventArgs : CancelEventArgs
Public Class PushContentControlEventArgs
    Inherits CancelEventArgs
Remarks

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.

Constructors

Name Description
PushContentControlEventArgs(Control, Rectangle, Rectangle)

Initializes a new instance of the PushContentControlEventArgs class.

Properties

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.