Partager via


TappedEventArgs.GetPosition(Element) Méthode

Définition

public:
 virtual Nullable<Microsoft::Maui::Graphics::Point> GetPosition(Microsoft::Maui::Controls::Element ^ relativeTo);
public virtual Microsoft.Maui.Graphics.Point? GetPosition (Microsoft.Maui.Controls.Element? relativeTo);
abstract member GetPosition : Microsoft.Maui.Controls.Element -> Nullable<Microsoft.Maui.Graphics.Point>
override this.GetPosition : Microsoft.Maui.Controls.Element -> Nullable<Microsoft.Maui.Graphics.Point>
Public Overridable Function GetPosition (relativeTo As Element) As Nullable(Of Point)

Paramètres

relativeTo
Element

Retours

S’applique à