Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Is the SplitView broken in Windows 10 Build 10.0.10547?

$
0
0

Hi! Today I decided to pick up some UWP app development. To get started, I created a simple design that implements the all-new SplitView-Control.

So I started coding something little: I created a SplitView in the MainPage as a child of the root Grid. It looked something like that:

<Grid DataContext="{StaticResource VM}"><!-- SplitView to contain navigation --><SplitView IsPaneOpen="{Binding IsPaneExpanded}"
                   DisplayMode="CompactOverlay"
                   PaneBackground="{StaticResource MainPalleteStep2ThemeBrush}"
                   Background="{StaticResource MainPalleteStep1ThemeBrush}"><SplitView.Pane><Grid><Grid.RowDefinitions><RowDefinition Height="Auto" /><RowDefinition /></Grid.RowDefinitions><Button Grid.Row="0" Width="48" Command="{Binding TogglePaneCommand}">T</Button><ScrollViewer Grid.Row="1" VerticalScrollMode="Enabled" VerticalScrollBarVisibility="Hidden"><StackPanel><RadioButton>Item 1</RadioButton></StackPanel></ScrollViewer>
                   ...</Grid></SplitView.Pane></SplitView></Grid>


Now, of course, in my ViewModel I there's the command

TogglePaneCommand

 that toggles the bool

IsPaneExpanded

The whole thing is working fine and dandy on my development machine (~4 year old Notebook running Windows 10.0.10240 x64). In deskop mode, as well as in tablet mode, the SplitView expands just like the one in the Cortana box (nice and smooth animation).

However, when I run the app on my actual Tablet (8" Dell Venue 8 Pro running Windows 10.0.10547 x86), the SplitView seems to be broken. It's not being animated when I click the toggle button and just 'pops out' after a short delay. Interestingly, when I turn off the tablet mode so the app is running in a seperate window, it looks just like it does on my Notebook.

I'm not sure if I missed something here. What is the cause of this? To me, it seems like the Control is broken, but on the other hand, Cortana's and the one in Hyper for YouTube is working (though I'm not sure if it's the same thing).

Any ideas? :)



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>