ComponentOne FlexGrid for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / C1TransformToVisual Method
The Windows.UI.Xaml.UIElement that defines the source coordinates.
The Windows.UI.Xaml.UIElement that defines the target coordinates.

In This Topic
    C1TransformToVisual Method
    In This Topic
    Returns a transform object that can be used to transform coordinates from the Windows.UI.Xaml.UIElement to the specified object.
    Syntax
    'Declaration
     
    
    Public Shared Function C1TransformToVisual( _
       ByVal element As UIElement, _
       ByVal visual As UIElement _
    ) As GeneralTransform
    public static GeneralTransform C1TransformToVisual( 
       UIElement element,
       UIElement visual
    )

    Parameters

    element
    The Windows.UI.Xaml.UIElement that defines the source coordinates.
    visual
    The Windows.UI.Xaml.UIElement that defines the target coordinates.

    Return Value

    A transform object that can be used to transform coordinates from the Windows.UI.Xaml.UIElement to the specified object.
    Remarks
    This is an improved version of Windows.UI.Xaml.UIElement.TransformToVisual. It works in cases that TransformToVisual doesn't, like with UIElements inside Windows.UI.Xaml.Controls.Primitives.Popups.
    See Also