Hello,
Ran across the following problem:
When using absolute Placement of a ContextMenu attached to a element in a UserControl that has a scale transform applied to it, the MousePosition reported in the Opening Event is not correct. It needs to be both Transformed to visual AND Scaled to produce the correct Absolute coordinates.
I understand the Transform to visual necessity, but it is my feeling that the Scaling step should not be necessary and should be considered a bug.
Here is my work-around:
The GetTransform is a extension function in my utilities:
Hope this saves someone a bit of time.
Scott