VisualExtensions.GetNormalizedCenterPoint(DependencyObject) Method

Definition

Gets the Windows.UI.Composition.Visual.CenterPoint of the Windows.UI.Xaml.UIElement normalized between 0.0 and 1.0 is centered even when the visual is resized

public static string GetNormalizedCenterPoint (Windows.UI.Xaml.DependencyObject obj);
static member GetNormalizedCenterPoint : Windows.UI.Xaml.DependencyObject -> string
Public Function GetNormalizedCenterPoint (obj As DependencyObject) As String

Parameters

obj
Windows.UI.Xaml.DependencyObject

The Windows.UI.Xaml.UIElement

Returns

a string representing Vector2 as the normalized Windows.UI.Composition.Visual.CenterPoint

Applies to