Class Callout
Assembly: Mapsui.UI.Forms.dll
public class Callout : IFeatureProvider, IDisposable, INotifyPropertyChanged
Constructors
|
Edit this page
View Source
Declaration
Parameters
Type |
Name |
Description |
Pin |
pin |
|
Fields
|
Edit this page
View Source
Declaration
public static FontAttributes DefaultSubtitleFontAttributes
Field Value
|
Edit this page
View Source
Declaration
public static Color DefaultSubtitleFontColor
Field Value
|
Edit this page
View Source
Declaration
public static string? DefaultSubtitleFontName
Field Value
|
Edit this page
View Source
Declaration
public static double DefaultSubtitleFontSize
Field Value
|
Edit this page
View Source
DefaultSubtitleTextAlignment
Declaration
public static TextAlignment DefaultSubtitleTextAlignment
Field Value
|
Edit this page
View Source
Declaration
public static FontAttributes DefaultTitleFontAttributes
Field Value
|
Edit this page
View Source
Declaration
public static Color DefaultTitleFontColor
Field Value
|
Edit this page
View Source
Declaration
public static string? DefaultTitleFontName
Field Value
|
Edit this page
View Source
Declaration
public static double DefaultTitleFontSize
Field Value
|
Edit this page
View Source
DefaultTitleTextAlignment
Declaration
public static TextAlignment DefaultTitleTextAlignment
Field Value
Properties
|
Edit this page
View Source
Anchor position of Callout
Declaration
public Point Anchor { get; set; }
Property Value
|
Edit this page
View Source
Arrow alignment of Callout
Declaration
public ArrowAlignment ArrowAlignment { get; set; }
Property Value
|
Edit this page
View Source
Height from arrow of Callout
Declaration
public double ArrowHeight { get; set; }
Property Value
|
Edit this page
View Source
Relative position of anchor of Callout on the side given by ArrowAlignment
Declaration
public double ArrowPosition { get; set; }
Property Value
|
Edit this page
View Source
Width from arrow of Callout
Declaration
public double ArrowWidth { get; set; }
Property Value
|
Edit this page
View Source
BackgroundColor of Callout
Declaration
public Color BackgroundColor { get; set; }
Property Value
|
Edit this page
View Source
Color of stroke around Callout
Declaration
public Color Color { get; set; }
Property Value
|
Edit this page
View Source
Content
Declaration
public int Content { get; set; }
Property Value
|
Edit this page
View Source
Feature, which belongs to callout. Should be the same as for the pin to which this callout belongs.
Declaration
public GeometryFeature Feature { get; }
Property Value
|
Edit this page
View Source
Is Callout closable by a click on the callout
Declaration
public bool IsClosableByClick { get; set; }
Property Value
|
Edit this page
View Source
Is Callout visible on map
Declaration
public bool IsVisible { get; }
Property Value
|
Edit this page
View Source
MaxWidth for Title and Subtitle of Callout
Declaration
public double MaxWidth { get; set; }
Property Value
|
Edit this page
View Source
Padding around content of Callout
Declaration
public Thickness Padding { get; set; }
Property Value
|
Edit this page
View Source
Pin to which this callout belongs
Declaration
Property Value
|
Edit this page
View Source
Radius of rounded corners of Callout
Declaration
public double RectRadius { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public bool RotateWithMap { get; set; }
Property Value
|
Edit this page
View Source
Rotation of Callout around the anchor
Declaration
public double Rotation { get; set; }
Property Value
|
Edit this page
View Source
Shadow width around Callout
Declaration
public double ShadowWidth { get; set; }
Property Value
|
Edit this page
View Source
Space between Title and Subtitle of Callout
Declaration
public double Spacing { get; set; }
Property Value
|
Edit this page
View Source
Stroke width of frame around Callout
Declaration
public double StrokeWidth { get; set; }
Property Value
|
Edit this page
View Source
Content of Callout detail label
Declaration
public string? Subtitle { get; set; }
Property Value
|
Edit this page
View Source
Font attributes to render subtitle
Declaration
public FontAttributes SubtitleFontAttributes { get; set; }
Property Value
|
Edit this page
View Source
Font color to render subtitle
Declaration
public Color SubtitleFontColor { get; set; }
Property Value
|
Edit this page
View Source
Font name to use rendering subtitle
Declaration
public string? SubtitleFontName { get; set; }
Property Value
|
Edit this page
View Source
Font size to rendering subtitle
Declaration
public double SubtitleFontSize { get; set; }
Property Value
|
Edit this page
View Source
SubtitleTextAlignment
Declaration
public TextAlignment SubtitleTextAlignment { get; set; }
Property Value
|
Edit this page
View Source
Content of Callout title label
Declaration
public string? Title { get; set; }
Property Value
|
Edit this page
View Source
Font attributes to render title
Declaration
public FontAttributes TitleFontAttributes { get; set; }
Property Value
|
Edit this page
View Source
Font color to render title
Declaration
public Color TitleFontColor { get; set; }
Property Value
|
Edit this page
View Source
Font name to use rendering title
Declaration
public string? TitleFontName { get; set; }
Property Value
|
Edit this page
View Source
Font size to rendering title
Declaration
public double TitleFontSize { get; set; }
Property Value
|
Edit this page
View Source
TitleTextAlignment
Declaration
public TextAlignment TitleTextAlignment { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public CalloutType Type { get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public virtual void Dispose()
|
Edit this page
View Source
Declaration
protected virtual void OnPropertyChanged(string? propertyName = null)
Parameters
Type |
Name |
Description |
string |
propertyName |
|
|
Edit this page
View Source
Declaration
protected bool SetField<T>(ref T field, T value, string? propertyName = null)
Parameters
Type |
Name |
Description |
T |
field |
|
T |
value |
|
string |
propertyName |
|
Returns
Type Parameters
Events
|
Edit this page
View Source
Declaration
public event EventHandler<CalloutClickedEventArgs>? CalloutClicked
Event Type
|
Edit this page
View Source
Declaration
public event PropertyChangedEventHandler? PropertyChanged
Event Type
Implements