Show / Hide Table of Contents

    Class Drawable

    Base class for all drawables like polyline, polygon and circle

    Inheritance
    System.Object
    Xamarin.Forms.BindableObject
    Drawable
    Circle
    Polygon
    Polyline
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IFeatureProvider
    Inherited Members
    Xamarin.Forms.BindableObject.BindingContextProperty
    Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindablePropertyKey)
    Xamarin.Forms.BindableObject.GetValue(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.IsSet(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.RemoveBinding(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.SetBinding(Xamarin.Forms.BindableProperty, Xamarin.Forms.BindingBase)
    Xamarin.Forms.BindableObject.ApplyBindings()
    Xamarin.Forms.BindableObject.OnBindingContextChanged()
    Xamarin.Forms.BindableObject.OnPropertyChanging(System.String)
    Xamarin.Forms.BindableObject.UnapplyBindings()
    Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindableProperty, System.Object)
    Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindablePropertyKey, System.Object)
    Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindableProperty)
    Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindablePropertyKey)
    Xamarin.Forms.BindableObject.Dispatcher
    Xamarin.Forms.BindableObject.BindingContext
    Xamarin.Forms.BindableObject.PropertyChanged
    Xamarin.Forms.BindableObject.PropertyChanging
    Xamarin.Forms.BindableObject.BindingContextChanged
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Mapsui.UI.Objects
    Assembly: Mapsui.UI.Forms.dll
    Syntax
    public class Drawable : BindableObject, INotifyPropertyChanged, IDynamicResourceHandler, IClickable, IFeatureProvider

    Fields

    | Improve this Doc View Source

    IsClickableProperty

    Declaration
    public static readonly BindableProperty IsClickableProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    LabelProperty

    Declaration
    public static readonly BindableProperty LabelProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    MaxVisibleProperty

    Declaration
    public static readonly BindableProperty MaxVisibleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    MinVisibleProperty

    Declaration
    public static readonly BindableProperty MinVisibleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    StrokeColorProperty

    Declaration
    public static readonly BindableProperty StrokeColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    StrokeWidthProperty

    Declaration
    public static readonly BindableProperty StrokeWidthProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty
    | Improve this Doc View Source

    ZIndexProperty

    Declaration
    public static readonly BindableProperty ZIndexProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    | Improve this Doc View Source

    Feature

    Mapsui Feature belonging to this drawable

    Declaration
    public Feature Feature { get; set; }
    Property Value
    Type Description
    Feature
    | Improve this Doc View Source

    IsClickable

    Is this drawable clickable

    Declaration
    public bool IsClickable { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Label

    Label of drawable

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    MaxVisible

    MaxVisible for drawable in resolution of Mapsui (smaller values are higher zoom levels)

    Declaration
    public double MaxVisible { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    MinVisible

    MinVisible for drawable in resolution of Mapsui (smaller values are higher zoom levels)

    Declaration
    public double MinVisible { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    StrokeColor

    StrokeColor for drawable

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color
    | Improve this Doc View Source

    StrokeWidth

    StrokeWidth of drawable in pixel

    Declaration
    public float StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Tag

    Object for free use

    Declaration
    public object Tag { get; set; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    ZIndex

    ZIndex of this drawable

    Declaration
    public int ZIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    OnPropertyChanged(String)

    Declaration
    protected override void OnPropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName
    Overrides
    Xamarin.Forms.BindableObject.OnPropertyChanged(System.String)

    Events

    | Improve this Doc View Source

    Clicked

    Event called, if this drawable is clicked an IsClickable is true

    Declaration
    public event EventHandler<DrawableClickedEventArgs> Clicked
    Event Type
    Type Description
    System.EventHandler<DrawableClickedEventArgs>

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IFeatureProvider
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX