Returns a transform object that can be used to transform coordinates from the
System.Windows.UIElement to the specified object.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function TransformToVisual( _
ByVal visual As System.Windows.UIElement _
) As System.Windows.Media.GeneralTransform |
| C# | |
|---|
public System.Windows.Media.GeneralTransform TransformToVisual(
System.Windows.UIElement visual
) |
Parameters
- visual
- The object to compare to the current object for purposes of obtaining the transform.
Return Value
The transform information as an object. Call
System.Windows.Media.GeneralTransform.Transform(System.Windows.Point) on this object to get a practical transform.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also