Show / Hide Table of Contents

Class Callout

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

Inheritance
System.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
AnchorLocation

Gets or sets the point at which the callout should be anchored on the map or scene

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()

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

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 Windows100.13 - 200.8
In This Article
Back to top Copyright © 2022 Esri.