Public Event PositionChanged As EventHandler(Of OverlayControlPositionChangedEventArgs)
public event EventHandler<OverlayControlPositionChangedEventArgs> PositionChanged
Event Data
The event handler receives an argument of type OverlayControlPositionChangedEventArgs containing data related to this event. The following OverlayControlPositionChangedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| XPosition | Gets the pixel offset for the left. |
| XRatio | Gets the horizontal offset of the control as a percent from 0 (left edge), to 1 (right edge). |
| YPosition | Gets the pixel offset for the top. |
| YRatio | Gets the vertical offset of the control as a percent from 0 (top edge), to 1 (bottom edge). |
Requirements
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)
ArcGIS Pro version: 3.0 or higher.
See Also