Class Drawable
Base class for all drawables like polyline, polygon and circle
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 SourceIsClickableProperty
Declaration
public static readonly BindableProperty IsClickableProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
LabelProperty
Declaration
public static readonly BindableProperty LabelProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
MaxVisibleProperty
Declaration
public static readonly BindableProperty MaxVisibleProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
MinVisibleProperty
Declaration
public static readonly BindableProperty MinVisibleProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
StrokeColorProperty
Declaration
public static readonly BindableProperty StrokeColorProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
StrokeWidthProperty
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
ZIndexProperty
Declaration
public static readonly BindableProperty ZIndexProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
Properties
| Improve this Doc View SourceFeature
Mapsui Feature belonging to this drawable
Declaration
public Feature Feature { get; set; }
Property Value
Type | Description |
---|---|
Feature |
IsClickable
Is this drawable clickable
Declaration
public bool IsClickable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Label
Label of drawable
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
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 |
StrokeColor
StrokeColor for drawable
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color |
StrokeWidth
StrokeWidth of drawable in pixel
Declaration
public float StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Tag
Object for free use
Declaration
public object Tag { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
ZIndex
ZIndex of this drawable
Declaration
public int ZIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceOnPropertyChanged(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 SourceClicked
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