19 references to Pin
Microsoft.Maui.Controls.Maps (19)
AppHostBuilderExtensions.cs (1)
73
handlersCollection.AddHandler<
Pin
, MapPinHandler>();
Map.cs (7)
45
readonly ObservableCollection<
Pin
> _pins = new();
127
public IList<
Pin
> Pins
229
if (e.NewItems is not null && e.NewItems.Cast<
Pin
>().Any(pin => pin.Label is null))
339
var
pin = (
Pin
)itemTemplate.CreateContent();
350
Pin
? pin = _pins[i] as
Pin
;
Pin.cs (10)
14
public static readonly BindableProperty TypeProperty = BindableProperty.Create(nameof(Type), typeof(PinType), typeof(
Pin
), default(PinType));
17
public static readonly BindableProperty LocationProperty = BindableProperty.Create(nameof(Location), typeof(Location), typeof(
Pin
), default(Location));
20
public static readonly BindableProperty AddressProperty = BindableProperty.Create(nameof(Address), typeof(string), typeof(
Pin
), default(string));
23
public static readonly BindableProperty LabelProperty = BindableProperty.Create(nameof(Label), typeof(string), typeof(
Pin
), default(string));
99
return Equals((
Pin
)obj);
128
public static bool operator ==(
Pin
? left,
Pin
? right)
139
public static bool operator !=(
Pin
? left,
Pin
? right)
170
bool Equals(
Pin
other)
PinType.cs (1)
4
/// Enumeration specifying the various kinds of <see cref="
Pin
"/>.