Show / Hide Table of Contents

Class Callout

A callout control used for rendering a Callout on top of the GeoView

Inheritance
Object
Callout
Implements
IViewOverlay
Namespace: Esri.ArcGISRuntime.UI.Controls
Assembly: Esri.ArcGISRuntime.WinUI.dll
Syntax
public class Callout : ContentControl, IViewOverlay
Remarks

The Callout control is used by the GeoView when displaying a single callout using the ShowCallout* methods. However the callout can also be used as a control inside the Overlays collection. This control implements the IViewOverlay interface, that allows it to adapt to the placement on screen and re-flow the location of the leader arrow that points to the location.

Constructors

Name Description
Callout()

Initializes a new instance of the Callout class.

Fields

Name Description
LeaderOffsetXProperty

Identifies the LeaderOffsetX dependency property.

LeaderOffsetYProperty

Identifies the LeaderOffsetY dependency property.

LeaderPositionProperty

Identifies the LeaderPosition dependency property.

Properties

Name Description
LeaderOffsetX

Gets or sets the horizontal leader offset

LeaderOffsetY

Gets or sets the vertical leader offset

LeaderPosition

Gets or sets the placement of the leader

Methods

Name Description
OnApplyTemplate()
OnArrangeOverlay(ViewOverlayArrangeParameters)

Called when the callout is about to be repositioned on the view

Name Description
IViewOverlay.ArrangeOverlay(ViewOverlayArrangeParameters)

Provides the behavior for the ArrangeOverlay pass of layout. Controls can implement this method to define their own ArrangeOverlay pass behavior for when they are part of the Overlays collection.

See Also

Overlays
ShowCalloutAt(MapPoint, CalloutDefinition)
IViewOverlay

Applies to

TargetVersions
.NET 6.0 Windows100.13 - 100.15
In This Article
Back to top Copyright © 2022 Esri.