在完整的.NET我可以轉換GeneralTransform與代碼MatrixTransform(看another question): var matrixTransform = new MatrixTransform(generalTransform.Value);
但在WinRT中GeneralTransform沒有Value財產。我如何在WinRT中進行轉換?
我有一個容器內的Image組件,其中clipAndEnableScrolling屬性設置爲true。我需要一個靜態方法,它獲取這個Image,旋轉角度並圍繞容器的中心點旋轉Image,而不會丟失任何以前的轉換。我創建的最好的方法在幾次旋轉之後增加了錯誤。 我的事情,必須像這樣工作 public static function rotateImageAroundCenterOfViewPort(i