universal app platform - a preview of 3 new ui controls
TRANSCRIPT
Universal App Platform
Windows 10
Neil Turner@theothernt
Independent developerof things on Xbox, Windows Phone and iOS.
Who develops with C# + XAML?
XAML
A quick history of
WPF / Desktop
Silverlight / Web
Silverlight / Phone
WinRT / Everywhere
Windows 8.1
Universal apps with
Shared project +Platform specific projects
90% of APIs common between Windows 8.1 and
Windows Phone 8.1
Universal App Platform
Windows 10
1 project, 1 binary
add more if you like!
Common APIs and UI controls
<SplitView x:Name="SplitView"OpenPaneLength="100"PanePlacement="Left"><SplitView.Pane>
<Grid Background="Salmon"><TextBlock Text="SplitView pane" />
</Grid></SplitView.Pane><Grid Background="LightBlue">
<TextBlock Text="Regular content" /></Grid>
</SplitView>
Responsive / Adaptive layouts
<RelativePanel><Button Content="Button 1" x:Name="B1"RelativePanel.AlightHorizontalCenterWithPanel="True" /><Button Content="Button 2"RelativePanel.LeftOf="{Binding ElementName=B1}" />
</RelativePanel>
<VisualStateManager.VisualStateGroups><VisualStateGroup>
<VisualState x:Name="WideState"><VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="600" /></VisualState.StateTriggers>
</VisualState></VisualStateGroup>
</VisualStateManager.VisualStateGroups>
Universal App Platform
How to prepare for the
Target Windows / Phone 8.1 using WinRT
Shared Projects +
Portable Class Libraries
Design for adaptive layouts
phone / tablet / big screen
2015
Thanks for listening!
Any questions?