Sometimes you need to know exactly where an  element is.

Get window relative position


static Point GetPositionInWindow( FrameworkElement element)
{
	GeneralTransform transform = element.TransformToVisual( null);
	return transform.TransformPoint( new Point() /* Represents 0,0 */);
}

Get the bounding rectangle


static Rect GetBoundsInWindow( FrameworkElement element)
{
	GeneralTransform transform = element.TransformToVisual( null);
	return transform.TransformBounds( new Rect( 0, 0, element.ActualWidth, element.ActualHeight));
}