Search Results for

    Show / Hide Table of Contents

    Class Callout

    Inheritance
    object
    Callout
    Implements
    IFeatureProvider
    IDisposable
    INotifyPropertyChanged
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.UI.Forms
    Assembly: Mapsui.UI.Forms.dll
    Syntax
    public class Callout : IFeatureProvider, IDisposable, INotifyPropertyChanged

    Constructors

    | Edit this page View Source

    Callout(Pin)

    Declaration
    public Callout(Pin pin)
    Parameters
    Type Name Description
    Pin pin

    Fields

    | Edit this page View Source

    DefaultSubtitleFontAttributes

    Declaration
    public static FontAttributes DefaultSubtitleFontAttributes
    Field Value
    Type Description
    FontAttributes
    | Edit this page View Source

    DefaultSubtitleFontColor

    Declaration
    public static Color DefaultSubtitleFontColor
    Field Value
    Type Description
    Color
    | Edit this page View Source

    DefaultSubtitleFontName

    Declaration
    public static string? DefaultSubtitleFontName
    Field Value
    Type Description
    string
    | Edit this page View Source

    DefaultSubtitleFontSize

    Declaration
    public static double DefaultSubtitleFontSize
    Field Value
    Type Description
    double
    | Edit this page View Source

    DefaultSubtitleTextAlignment

    Declaration
    public static TextAlignment DefaultSubtitleTextAlignment
    Field Value
    Type Description
    TextAlignment
    | Edit this page View Source

    DefaultTitleFontAttributes

    Declaration
    public static FontAttributes DefaultTitleFontAttributes
    Field Value
    Type Description
    FontAttributes
    | Edit this page View Source

    DefaultTitleFontColor

    Declaration
    public static Color DefaultTitleFontColor
    Field Value
    Type Description
    Color
    | Edit this page View Source

    DefaultTitleFontName

    Declaration
    public static string? DefaultTitleFontName
    Field Value
    Type Description
    string
    | Edit this page View Source

    DefaultTitleFontSize

    Declaration
    public static double DefaultTitleFontSize
    Field Value
    Type Description
    double
    | Edit this page View Source

    DefaultTitleTextAlignment

    Declaration
    public static TextAlignment DefaultTitleTextAlignment
    Field Value
    Type Description
    TextAlignment

    Properties

    | Edit this page View Source

    Anchor

    Anchor position of Callout

    Declaration
    public Point Anchor { get; set; }
    Property Value
    Type Description
    Point
    | Edit this page View Source

    ArrowAlignment

    Arrow alignment of Callout

    Declaration
    public ArrowAlignment ArrowAlignment { get; set; }
    Property Value
    Type Description
    ArrowAlignment
    | Edit this page View Source

    ArrowHeight

    Height from arrow of Callout

    Declaration
    public double ArrowHeight { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    ArrowPosition

    Relative position of anchor of Callout on the side given by ArrowAlignment

    Declaration
    public double ArrowPosition { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    ArrowWidth

    Width from arrow of Callout

    Declaration
    public double ArrowWidth { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    BackgroundColor

    BackgroundColor of Callout

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Color

    Color of stroke around Callout

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Content

    Content of Callout

    Declaration
    public int Content { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Feature

    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
    Type Description
    GeometryFeature
    | Edit this page View Source

    IsClosableByClick

    Is Callout closable by a click on the callout

    Declaration
    public bool IsClosableByClick { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsVisible

    Is Callout visible on map

    Declaration
    public bool IsVisible { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MaxWidth

    MaxWidth for Title and Subtitle of Callout

    Declaration
    public double MaxWidth { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Padding

    Padding around content of Callout

    Declaration
    public Thickness Padding { get; set; }
    Property Value
    Type Description
    Thickness
    | Edit this page View Source

    Pin

    Pin to which this callout belongs

    Declaration
    public Pin Pin { get; }
    Property Value
    Type Description
    Pin
    | Edit this page View Source

    RectRadius

    Radius of rounded corners of Callout

    Declaration
    public double RectRadius { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    RotateWithMap

    Rotate Callout with map

    Declaration
    public bool RotateWithMap { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Rotation

    Rotation of Callout around the anchor

    Declaration
    public double Rotation { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    ShadowWidth

    Shadow width around Callout

    Declaration
    public double ShadowWidth { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Spacing

    Space between Title and Subtitle of Callout

    Declaration
    public double Spacing { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    StrokeWidth

    Stroke width of frame around Callout

    Declaration
    public double StrokeWidth { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Subtitle

    Content of Callout detail label

    Declaration
    public string? Subtitle { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SubtitleFontAttributes

    Font attributes to render subtitle

    Declaration
    public FontAttributes SubtitleFontAttributes { get; set; }
    Property Value
    Type Description
    FontAttributes
    | Edit this page View Source

    SubtitleFontColor

    Font color to render subtitle

    Declaration
    public Color SubtitleFontColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    SubtitleFontName

    Font name to use rendering subtitle

    Declaration
    public string? SubtitleFontName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SubtitleFontSize

    Font size to rendering subtitle

    Declaration
    public double SubtitleFontSize { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    SubtitleTextAlignment

    Text alignment of title

    Declaration
    public TextAlignment SubtitleTextAlignment { get; set; }
    Property Value
    Type Description
    TextAlignment
    | Edit this page View Source

    Title

    Content of Callout title label

    Declaration
    public string? Title { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TitleFontAttributes

    Font attributes to render title

    Declaration
    public FontAttributes TitleFontAttributes { get; set; }
    Property Value
    Type Description
    FontAttributes
    | Edit this page View Source

    TitleFontColor

    Font color to render title

    Declaration
    public Color TitleFontColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    TitleFontName

    Font name to use rendering title

    Declaration
    public string? TitleFontName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TitleFontSize

    Font size to rendering title

    Declaration
    public double TitleFontSize { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    TitleTextAlignment

    Text alignment of title

    Declaration
    public TextAlignment TitleTextAlignment { get; set; }
    Property Value
    Type Description
    TextAlignment
    | Edit this page View Source

    Type

    Type of Callout

    Declaration
    public CalloutType Type { get; set; }
    Property Value
    Type Description
    CalloutType
    Remarks

    Could be single, detail or custom. The last is a bitmap id for an owner drawn image.

    Methods

    | Edit this page View Source

    Dispose()

    Declaration
    public virtual void Dispose()
    | Edit this page View Source

    OnPropertyChanged(string?)

    Declaration
    protected virtual void OnPropertyChanged(string? propertyName = null)
    Parameters
    Type Name Description
    string propertyName
    | Edit this page View Source

    SetField<T>(ref T, T, string?)

    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 Description
    bool
    Type Parameters
    Name Description
    T

    Events

    | Edit this page View Source

    CalloutClicked

    Declaration
    public event EventHandler<CalloutClickedEventArgs>? CalloutClicked
    Event Type
    Type Description
    EventHandler<CalloutClickedEventArgs>
    | Edit this page View Source

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler? PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    Implements

    IFeatureProvider
    IDisposable
    INotifyPropertyChanged
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX