Class Callout
Assembly: Mapsui.UI.Maui.dll
Syntax
public class Callout : IFeatureProvider, IDisposable, INotifyPropertyChanged
Constructors
|
Edit this page
View Source
Callout(Pin)
Declaration
Parameters
Type |
Name |
Description |
Pin |
pin |
|
Fields
|
Edit this page
View Source
DefaultSubtitleFontAttributes
Declaration
public static FontAttributes DefaultSubtitleFontAttributes
Field Value
|
Edit this page
View Source
DefaultSubtitleFontColor
Declaration
public static Color DefaultSubtitleFontColor
Field Value
|
Edit this page
View Source
DefaultSubtitleFontName
Declaration
public static string? DefaultSubtitleFontName
Field Value
|
Edit this page
View Source
DefaultSubtitleFontSize
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
DefaultTitleFontAttributes
Declaration
public static FontAttributes DefaultTitleFontAttributes
Field Value
|
Edit this page
View Source
DefaultTitleFontColor
Declaration
public static Color DefaultTitleFontColor
Field Value
|
Edit this page
View Source
DefaultTitleFontName
Declaration
public static string? DefaultTitleFontName
Field Value
|
Edit this page
View Source
DefaultTitleFontSize
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
Anchor position of Callout
Declaration
public Point Anchor { get; set; }
Property Value
|
Edit this page
View Source
ArrowAlignment
Arrow alignment of Callout
Declaration
public ArrowAlignment ArrowAlignment { get; set; }
Property Value
|
Edit this page
View Source
ArrowHeight
Height from arrow of Callout
Declaration
public double ArrowHeight { get; set; }
Property Value
|
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
|
Edit this page
View Source
ArrowWidth
Width from arrow of Callout
Declaration
public double ArrowWidth { get; set; }
Property Value
|
Edit this page
View Source
BackgroundColor
BackgroundColor of Callout
Declaration
public Color BackgroundColor { get; set; }
Property Value
|
Edit this page
View Source
Color
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
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
IsClosableByClick
Is Callout closable by a click on the callout
Declaration
public bool IsClosableByClick { get; set; }
Property Value
|
Edit this page
View Source
IsVisible
Is Callout visible on map
Declaration
public bool IsVisible { get; }
Property Value
|
Edit this page
View Source
MaxWidth
MaxWidth for Title and Subtitle of Callout
Declaration
public double MaxWidth { get; set; }
Property Value
|
Edit this page
View Source
Padding
Padding around content of Callout
Declaration
public Thickness Padding { get; set; }
Property Value
|
Edit this page
View Source
Pin
Pin to which this callout belongs
Declaration
Property Value
|
Edit this page
View Source
RectRadius
Radius of rounded corners of Callout
Declaration
public double RectRadius { get; set; }
Property Value
|
Edit this page
View Source
RotateWithMap
Declaration
public bool RotateWithMap { get; set; }
Property Value
|
Edit this page
View Source
Rotation
Rotation of Callout around the anchor
Declaration
public double Rotation { get; set; }
Property Value
|
Edit this page
View Source
ShadowWidth
Shadow width around Callout
Declaration
public double ShadowWidth { get; set; }
Property Value
|
Edit this page
View Source
Spacing
Space between Title and Subtitle of Callout
Declaration
public double Spacing { get; set; }
Property Value
|
Edit this page
View Source
StrokeWidth
Stroke width of frame around Callout
Declaration
public double StrokeWidth { get; set; }
Property Value
|
Edit this page
View Source
Subtitle
Content of Callout detail label
Declaration
public string? Subtitle { get; set; }
Property Value
|
Edit this page
View Source
SubtitleFontAttributes
Font attributes to render subtitle
Declaration
public FontAttributes SubtitleFontAttributes { get; set; }
Property Value
|
Edit this page
View Source
SubtitleFontColor
Font color to render subtitle
Declaration
public Color SubtitleFontColor { get; set; }
Property Value
|
Edit this page
View Source
SubtitleFontName
Font name to use rendering subtitle
Declaration
public string? SubtitleFontName { get; set; }
Property Value
|
Edit this page
View Source
SubtitleFontSize
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
Title
Content of Callout title label
Declaration
public string? Title { get; set; }
Property Value
|
Edit this page
View Source
TitleFontAttributes
Font attributes to render title
Declaration
public FontAttributes TitleFontAttributes { get; set; }
Property Value
|
Edit this page
View Source
TitleFontColor
Font color to render title
Declaration
public Color TitleFontColor { get; set; }
Property Value
|
Edit this page
View Source
TitleFontName
Font name to use rendering title
Declaration
public string? TitleFontName { get; set; }
Property Value
|
Edit this page
View Source
TitleFontSize
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
Type
Declaration
public CalloutType Type { get; set; }
Property Value
Methods
|
Edit this page
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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 Parameters
Events
|
Edit this page
View Source
CalloutClicked
Declaration
public event EventHandler<CalloutClickedEventArgs>? CalloutClicked
Event Type
|
Edit this page
View Source
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler? PropertyChanged
Event Type
Implements