Popup¶
Namespace: ThinkGeo.UI.XamarinForms
This class represents a popup control for placing on the map.
public class Popup : Xamarin.Forms.ContentView, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.IElement, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.IElementController, Xamarin.Forms.StyleSheets.IStyleSelectable, Xamarin.Forms.Internals.INavigationProxy, Xamarin.Forms.IAnimatable, Xamarin.Forms.IVisualElementController, Xamarin.Forms.IResourcesProvider, Xamarin.Forms.IStyleElement, Xamarin.Forms.IFlowDirectionController, Xamarin.Forms.IPropertyPropagationController, Xamarin.Forms.IVisualController, Xamarin.Forms.ITabStopElement, Xamarin.Forms.StyleSheets.IStylable, Xamarin.Forms.IViewController, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.IGestureRecognizers, Xamarin.Forms.ILayout, Xamarin.Forms.ILayoutController, Xamarin.Forms.IPaddingElement, Xamarin.Forms.IControlTemplated, ThinkGeo.UI.XamarinForms.Adapters.IMapElementAdaptable`1[[ThinkGeo.UI.XamarinForms.Adapters.IPopupAdapter, ThinkGeo.UI.XamarinForms, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → BindableObject → Element → NavigableElement → VisualElement → View → Layout → TemplatedView → ContentView → Popup
Implements INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IStyleSelectable, INavigationProxy, IAnimatable, IVisualElementController, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, ITabStopElement, IStylable, IViewController, IGestureController, IGestureRecognizers, ILayout, ILayoutController, IPaddingElement, IControlTemplated, IMapElementAdaptable<IPopupAdapter>
Properties¶
XOffset¶
Gets or sets the x offset.
public int XOffset { get; set; }
Property Value¶
Int32
The x offset.
YOffset¶
Gets or sets the y offset.
public int YOffset { get; set; }
Property Value¶
Int32
The y offset.
Position¶
Gets and sets the position of the popup.
public PointShape Position { get; set; }
Property Value¶
PointShape
The position.
Text¶
Gets or sets the content.
public string Text { get; set; }
Property Value¶
String
The content.
Content¶
public string Content { get; set; }
Property Value¶
Adapter¶
public IPopupAdapter Adapter { get; set; }
Property Value¶
Content¶
public View Content { get; set; }
Property Value¶
View
ControlTemplate¶
public ControlTemplate ControlTemplate { get; set; }
Property Value¶
ControlTemplate
IsClippedToBounds¶
public bool IsClippedToBounds { get; set; }
Property Value¶
Padding¶
public Thickness Padding { get; set; }
Property Value¶
Thickness
CascadeInputTransparent¶
public bool CascadeInputTransparent { get; set; }
Property Value¶
Children¶
public IReadOnlyList<Element> Children { get; }
Property Value¶
GestureRecognizers¶
public IList<IGestureRecognizer> GestureRecognizers { get; }
Property Value¶
HorizontalOptions¶
public LayoutOptions HorizontalOptions { get; set; }
Property Value¶
LayoutOptions
Margin¶
public Thickness Margin { get; set; }
Property Value¶
Thickness
VerticalOptions¶
public LayoutOptions VerticalOptions { get; set; }
Property Value¶
LayoutOptions
Visual¶
public IVisual Visual { get; set; }
Property Value¶
IVisual
FlowDirection¶
public FlowDirection FlowDirection { get; set; }
Property Value¶
FlowDirection
AnchorX¶
public double AnchorX { get; set; }
Property Value¶
AnchorY¶
public double AnchorY { get; set; }
Property Value¶
BackgroundColor¶
public Color BackgroundColor { get; set; }
Property Value¶
Color
Background¶
public Brush Background { get; set; }
Property Value¶
Brush
Behaviors¶
public IList<Behavior> Behaviors { get; }
Property Value¶
Bounds¶
public Rectangle Bounds { get; }
Property Value¶
Rectangle
Height¶
public double Height { get; }
Property Value¶
HeightRequest¶
public double HeightRequest { get; set; }
Property Value¶
InputTransparent¶
public bool InputTransparent { get; set; }
Property Value¶
IsEnabled¶
public bool IsEnabled { get; set; }
Property Value¶
IsFocused¶
public bool IsFocused { get; }
Property Value¶
IsVisible¶
public bool IsVisible { get; set; }
Property Value¶
MinimumHeightRequest¶
public double MinimumHeightRequest { get; set; }
Property Value¶
MinimumWidthRequest¶
public double MinimumWidthRequest { get; set; }
Property Value¶
Opacity¶
public double Opacity { get; set; }
Property Value¶
Rotation¶
public double Rotation { get; set; }
Property Value¶
RotationX¶
public double RotationX { get; set; }
Property Value¶
RotationY¶
public double RotationY { get; set; }
Property Value¶
Scale¶
public double Scale { get; set; }
Property Value¶
ScaleX¶
public double ScaleX { get; set; }
Property Value¶
ScaleY¶
public double ScaleY { get; set; }
Property Value¶
TabIndex¶
public int TabIndex { get; set; }
Property Value¶
IsTabStop¶
public bool IsTabStop { get; set; }
Property Value¶
TranslationX¶
public double TranslationX { get; set; }
Property Value¶
TranslationY¶
public double TranslationY { get; set; }
Property Value¶
Triggers¶
public IList<TriggerBase> Triggers { get; }
Property Value¶
Width¶
public double Width { get; }
Property Value¶
WidthRequest¶
public double WidthRequest { get; set; }
Property Value¶
X¶
public double X { get; }
Property Value¶
Y¶
public double Y { get; }
Property Value¶
Clip¶
public Geometry Clip { get; set; }
Property Value¶
Geometry
Batched¶
public bool Batched { get; }
Property Value¶
DisableLayout¶
public bool DisableLayout { get; set; }
Property Value¶
IsInNativeLayout¶
public bool IsInNativeLayout { get; set; }
Property Value¶
IsNativeStateConsistent¶
public bool IsNativeStateConsistent { get; set; }
Property Value¶
IsPlatformEnabled¶
public bool IsPlatformEnabled { get; set; }
Property Value¶
Resources¶
public ResourceDictionary Resources { get; set; }
Property Value¶
ResourceDictionary
Navigation¶
public INavigation Navigation { get; internal set; }
Property Value¶
INavigation
Style¶
public Style Style { get; set; }
Property Value¶
Style
StyleClass¶
public IList<string> StyleClass { get; set; }
Property Value¶
class¶
public IList<string> class { get; set; }
Property Value¶
NavigationProxy¶
public NavigationProxy NavigationProxy { get; }
Property Value¶
NavigationProxy
AutomationId¶
public string AutomationId { get; set; }
Property Value¶
ClassId¶
public string ClassId { get; set; }
Property Value¶
Effects¶
public IList<Effect> Effects { get; }
Property Value¶
Id¶
public Guid Id { get; }
Property Value¶
ParentView¶
public VisualElement ParentView { get; }
Property Value¶
VisualElement
StyleId¶
public string StyleId { get; set; }
Property Value¶
LogicalChildren¶
public ReadOnlyCollection<Element> LogicalChildren { get; }
Property Value¶
RealParent¶
public Element RealParent { get; }
Property Value¶
Element
Parent¶
public Element Parent { get; set; }
Property Value¶
Element
EffectControlProvider¶
public IEffectControlProvider EffectControlProvider { get; set; }
Property Value¶
IEffectControlProvider
Platform¶
public IPlatform Platform { get; set; }
Property Value¶
IPlatform
Dispatcher¶
public IDispatcher Dispatcher { get; internal set; }
Property Value¶
IDispatcher
BindingContext¶
public object BindingContext { get; set; }
Property Value¶
Constructors¶
Popup()¶
Initializes a new instance of the Popup class.
public Popup()
Methods¶
CreateAdapter()¶
Creates the adapter.
protected IMapElementAdapter CreateAdapter()
Returns¶
IMapElementAdapter
IMapElementAdapter.
CreateAdapterCore()¶
Creates the adapter core.
protected IMapElementAdapter CreateAdapterCore()
Returns¶
IMapElementAdapter
IMapElementAdapter.
Events¶
LayoutChanged¶
public event EventHandler LayoutChanged;
ChildrenReordered¶
public event EventHandler ChildrenReordered;
Focused¶
public event EventHandler<FocusEventArgs> Focused;
MeasureInvalidated¶
public event EventHandler MeasureInvalidated;
SizeChanged¶
public event EventHandler SizeChanged;
Unfocused¶
public event EventHandler<FocusEventArgs> Unfocused;
BatchCommitted¶
public event EventHandler<EventArg<VisualElement>> BatchCommitted;
FocusChangeRequested¶
public event EventHandler<FocusRequestArgs> FocusChangeRequested;
ChildAdded¶
public event EventHandler<ElementEventArgs> ChildAdded;
ChildRemoved¶
public event EventHandler<ElementEventArgs> ChildRemoved;
DescendantAdded¶
public event EventHandler<ElementEventArgs> DescendantAdded;
DescendantRemoved¶
public event EventHandler<ElementEventArgs> DescendantRemoved;
PlatformSet¶
public event EventHandler PlatformSet;
PropertyChanged¶
public event PropertyChangedEventHandler PropertyChanged;
PropertyChanging¶
public event PropertyChangingEventHandler PropertyChanging;
BindingContextChanged¶
public event EventHandler BindingContextChanged;