Returns a transform object that can be used to transform coordinates from the UIElement to the specified object.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Function TransformToVisual ( _ visual As UIElement _ ) As GeneralTransform
- Type: System.Windows.UIElement
The object to compare to the current object for purposes of obtaining the transform.
In WPF, this method exists on the Visual class. Silverlight does not use Visual in its public object model. Silverlight implements several Visual-related APIs on the UIElement class instead.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.