UWP Trying to apply a RenderTransform to FileOpenPicker and FileSavePicker

60 Views Asked by At

My UWP app has the ability to be rotated 180 degrees (it's being designed for a horizontal touch screen).

I find that I can rotate pretty much everything in the app, e.g. controls / framework elements etc, using code like this...

    public static void RotateElement(FrameworkElement e)
    {
        RotateTransform rot = new RotateTransform();
        rot.Angle = 180;
        e.RenderTransformOrigin = new Windows.Foundation.Point(.5, .5);
        e.RenderTransform = rot;
    }

I have found that this will also rotate Tooltips and ContentDialogs (although the dialogs appear unrotated for a split second before being shown rotated).

But I've now hit a road block...

The UWP File Picker dialogs do not have any RenderTransform properties. So I cannot rotate File Pickers.

Is there any solution to this?

I'm assuming there is no point in me trying to roll my own pickers because I can only gain access to various files and folders using the UWP pickers.

0

There are 0 best solutions below