Class Callout
A callout control used for rendering a Callout on top of the GeoView
Implements
Namespace: Esri.ArcGISRuntime.UI.Controls
Assembly: Esri.ArcGISRuntime.WinUI.dll
Syntax
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(CalloutWinRTTypeDetails))]
public class Callout : ContentControl, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IEquatable<Control>, IWinRTObject, IDynamicInterfaceCastable, IEquatable<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 ApplyTemplate(). 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 |
See Also
Applies to
| Target | Versions |
|---|---|
| .NET Windows | 100.13 - 300.0 |