UIElement.TransformToVisual Method
Silverlight
Returns a transform object that can be used to transform coordinates from the UIElement to the specified object.
Namespace: System.Windows
Assembly: System.Windows (in System.Windows.dll)
Parameters
- visual
- Type: System.Windows.UIElement
The object to compare to the current object for purposes of obtaining the transform.
Return Value
Type: System.Windows.Media.GeneralTransformThe transform information as an object. Call GeneralTransform.Transform on this object to get a practical 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.