Class PopupPositionChangingEventArgs
Provides data for the event that occurs when the position of a popup is changing.
Inheritance
System.Object
PopupPositionChangingEventArgs
Namespace: Syncfusion.Maui.Popup
Assembly: Syncfusion.Maui.Popup.dll
Syntax
public class PopupPositionChangingEventArgs : HandledEventArgs
Constructors
PopupPositionChangingEventArgs(Rect, Point)
Initializes a new instance of the PopupPositionChangingEventArgs class.
Declaration
public PopupPositionChangingEventArgs(Rect bounds, Point moveTo)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Maui.Graphics.Rect | bounds | The current bounds of the popup. |
| Microsoft.Maui.Graphics.Point | moveTo | The new position to move the popup to. |
Properties
Bounds
Gets the bounds of the popup view.
Declaration
public Rect Bounds { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Maui.Graphics.Rect | A Microsoft.Maui.Graphics.Rect representing the dimensions and position of the popup. |
MoveTo
Gets or sets the new position to move the popup to.
Declaration
public Point MoveTo { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Point |