Great user experiences can delight and engage your users, and make them more productive. Innovations in the Windows UI platform in XAML and Visual Layer make creating these experiences easy on Windows. This session shows you how to easily enable these experiences in your apps – be they consumer, enterprise, or line-of-business. We also tease you with what’s in store for Windows UI in the future and how we progressively make the 'possible' even easier.
7. Highest
Differentiation:
Signature or Hero
Navigation, Themes
Natural Motion
Patterns, Controls,
Input,
Scaling & Orientation
Layout, Typography, Animation
Color & Effects, Icons
Performance & Scalability
Differentiators - Within a framework, UX can
differ in these ways to be unique
P E R S O N A L
Basics – UX should be consistent in these ways
U N I V E R S A L
Differentiated UX based on:
Brand
Audience – User Intent
Device Context
14. Point, Spot, Distant, Ambient Lights.
Used with Scene Light Effect
Drop Shadows, Future: Light based
Shadows
XAML Light,
Control over exclusion and
intensity
Reveal and its use in ListView /
TreeView / NavigationView /
AutosuggestBox,
Future: Realistic depth and shadows
A-B-C
18. ACRYLIC
App or Desktop background
Gaussian blur
Exclusion blend
Color tint (optional)
Noise texture
<Grid Background="{ThemeResource SystemControlAcrylicElementBrush}"/>
19. Acrylic
Backdrop brush, can
sample from desktop or
app background
public ImageEffectBrush : XamlCompositionBaseBrush
{
// implementation can use any Visual layer effects
}
<TextBlock Text="Hello World">
<TextBlock.Foreground>
<local:ImageEffectBrush />
</TextBlock.Foreground>
</TextBlock>
Explore the next gen innovation in the Visual layer (B8037, Lindsay/Kelly)
20.
21.
22.
23. Want to help shape this?
aka.ms/windowsui/shapes
30. // play an animation when this UIElement is shown
ElementCompositionPreview
// play an animation when this UIElement is hidden
ElementCompositionPreview
// event handler on Master page
private void object ItemClickEventArgs
var GridViewItem
"Image"
var ConnectedAnimationService
"Image"
// navigation handler on Details page
private override void NavigationEventArgs
var ConnectedAnimationService
"Image"
31.
32. Input driven animations:
Interaction Tracker, Inertia modifiers,
Source modifiers, Position trackers
Parallax, Conscious Headers,
Pull to Refresh
Future: Integrating Physics engines
Physical motion: spring, bounce,
attraction
Perceived physics with the use of
Triggers, Noise
Future: New XAML Scroller
Future: Motion and
Patterns embodied by
Controls and implicit
animations as part of the
Windows “personality”
A-B-C
38. Concepts:
• Connected Animation conveniences
• Behaviors
e.g. FadeOutExit, SlideInEntrance
• Triggers
e.g. Entrance, Exit, PropertyChanged, etc. or custom
• Expressive library of stock animations
• Customize + Use Storyboard animations and/or
Composition Animations
Feedback? Let us know:
aka.ms/windowsui/semanticanimation
60. Respect the user
Respect the device
<StackPanel x:Name="MyLargeSecondaryUI"
Visibility="Collapsed" >
<!--
some large chunk of UI that may rarely be seen but
we are too lazy to dynamically load because we love
our markup
:-D I kid, I kid!
-->
</StackPanel>
<StackPanel x:Name="MyLargeSecondaryUI"
x:Load="{x:Bind MyViewModel.ShouldShowSecondaryUI}">
<!--
some large chunk of UI that may rarely be seen but
we are too lazy to dynamically load because we love
our markup
:-D I kid, I kid!
-->
</StackPanel>
Tips and Tricks for Creating Performant UI in UWP (P4173, David Li)
66. .NET Standard 2.0 support
XAML Standard 1.0 support
Custom MarkupExtension
Default binding modes for x:Bind
More VS improvements (Edit and
Continue, Min/Max versioning)
Strikethrough text
Performance improvements (reduced
memory, higher scalability)
2D apps with realistic depth in 3D/HMD
Advanced color and HDR in
Image/MediaElement/Visuals
Input (event preview on key up/down)
CharacterReceived (Text input)
CharacterCasing (TextBox)
ClipBoard copy events on Text input
Text IsWrapped/Trimmed
Coming to a flight soon – be an insider!