VisualExtensions.GetNormalizedCenterPoint(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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