<Border Width="100" Height="100" CornerRadius="5" BorderThickness="10" BorderBrush="Red"> <Image Source="Assets/trees.jpg" Stretch="UniformToFill"/>

Slides:



Advertisements
Similar presentations
RIA User User RIA .net framework Silverlight, WPF.
Advertisements

The Microsoft Technical Roadshow 2006 Windows Presentation Foundation (WPF) Marcus Perryman
Private cloudFrameworksClientsPublic cloud Microsoft ® Media Platform Video Editor Content Manager Microsoft ® Media Platform Player Framework Microsoft.
Windows Presetation Foundation (WPF) 1. Introduction.
Fast rendering of 2D applications with text and images Combines the power of DirectX and the convenience of.NET Adopted by most triple-A titles.
The Microsoft’s solution for building cross-platform Rich Internet Applications.
WPF. Origins – Who, When, Where  Who? Microsoft  When? November 2006  Where? Windows Vista Windows Server 2003 Windows XP Service Pack 2.
LemGen (Linguistic EMulation and Generation ENgine) CS491 Project Chris Lemcke.
Build /17/2017 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
 Any device, anywhere, anytime  New discovery channels  New ways of working  Redefined expectations for apps.
Windows Core OS Services JavaScript (Chakra) C C++ C# VB Metro style apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics.
There has never been a better time to build a game that targets PC, tablets, phone and Xbox!
Software Development. Chapter 4 – Windows application interfaces.
App Manifest Web Application (HTML, CSS, JS, …) APP.
Office 365 Platform Flexible Tools Office Store and App Catalog Discover A marketplace of off-the-shelf solutions to many of the common needs.
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
Integrate your game with Windows platform Vladimir Kolesnikov Technical Evangelist
Web programmeringSilverlight NOEA / PQC 2007 Silverlight From: Gill Cleeren blog.n-technologies.be.
Input Boundary Output Logi c Boundary Input User | OS Output Application Logic Data Transformation Data Copy Type Conversion Data Transformation.
Rudi Grobler Session Code: WUX205.
Windows Presentation Foundation Adam Calderon Principal Engineer Interknowlogy LLC
Understand what kind of applications Windows Presentation Foundation can deliver See how Visual Studio 2008 & Microsoft Expression Blend work together.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
Presentation advances in.NET Framework 3.0 Mark Johnston Developer & Platform Group, Microsoft Ltd
Build advanced touch apps in Windows 8
Discover, Master, Influence1 Windows Presentation Foundation David Burela Senior Developer, Readify.
A Lap Around Windows Presentation Foundation. Why hasn’t UX taken off in software? It’s Difficult! Animation 2D 3D Documents Styled Controls Video Windows.
Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript.
UI: MFC, GDI UI: DirectX still need to rethink user experience ISO C++ VC++ Runtime (CRT, PPL, …) C++/CLI OS / Win32 WinRT + Win32 subset COM.
Overview Windows Core OS Services JavaScript (Chakra) C C++ C# VB Metro style Apps Communication & Data Application Model Devices & Printing WinRT.
App Theming & PVL Direct3DDirectWriteDirect2DMediaTouch.
Importance of customer feedback Customer feedback.
.NET Framework Presentation. About Me Patrik Löwendahl –C# MVP –Certified Vista Touchdown Trainer Cornerstone
Silverlight 101 Ahead! If you know Silverlight and are looking for more advanced content check out : ‘Microsoft Silverlight “Media” : Moving at 60fps’
Windows.UI.Composition: The Next gen UI foundation SDK Update
An Introduction to Developing Applications for Microsoft Silverlight Jaime Rodriguez
Virtual techdays INDIA │ November 2010 Building Visual Studio LightSwitch Application Kunal Chowdhury │ Software Engineer, Silverlight MVP.
Communication & Data Devices & Printing WinRT APIs DirectX & Media Windows 8 Desktop Apps C C++ Win32 C# VB. NET SL HTML JavaScrip t Internet Explorer.
~80 System Colors (and Brushes) ~80 System Colors (and Brushes) XAML Control Colors Map to ~80 system colors SystemBaseHighColor (SystemControlHighlightBaseHighBrush)
Part of the Microsoft.NET Framework 3.0 Tomer Shamam.NET Technologies Expert Sela Group
Introduction to Avalon Mike Taulty Microsoft Ltd
Why Windows Presentation Foundation? Windows Presentation Foundation Unified approach to UI, Documents, and Media Integration as part of development.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
Building Metro style apps with XAML with.NET Tim Heuer Program Manager Microsoft Corporation DEV353.
Building Windows 8 App.
5/2/2018 1:53 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
6/10/ :23 PM TOOL-504T A deep dive into Visual Studio 11 Express for designing Metro style apps using XAML Joanna Mason & Unni Ravindranathan Program.
Build /24/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
WPF4 Jaime Rodriguez Senior Technical Evangelist
Manual testing of Windows Metro style apps built using HTML
Building beautiful and interactive apps with HTML5 & CSS3
A lap around DirectX game development tools
Hand Pointer Gestures and Speech
.NET and .NET Core 7. XAML Pan Wuming 2017.
Silverlight Technology
Tips and tricks for developing Metro style apps using XAML
תכנות אסינכרוני, תקשורת ופיתוח אפליקציות ל-Windows 8
Metro style apps using XAML: What you need to know
Quality & Performance for XAML Apps
Windows Phone application performance and optimization
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Platform for Metro style Apps
Enterprise Developer Camp Jumpstart
Dot Net Application PROF. S. LAKSHMANAN, DEPT. OF B. VOC. (SD & SA),
Build /20/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Windows Presentation Foundation
Combining XAML and DirectX
What’s New in the Visual Studio 2013 IDE
Presentation transcript:

<Border Width="100" Height="100" CornerRadius="5" BorderThickness="10" BorderBrush="Red"> <Image Source="Assets/trees.jpg" Stretch="UniformToFill"/>

C++ Windows 8 subsystem Windows Store app using XAML (C++, C#, VB) App Theme & PVL Direct 3D Direct Write Direct 2D Media Input XAML Framework Windows Runtime / C++

DirectX XAML

DirectX

XAML

DirectX XAML

Object DependencyObject ImageSource SurfaceImageSource ImageBrush^ brush = ref new ImageBrush(); brush->ImageSource = ref new SurfaceImageSource(300, 300); Ellipse1->Fill = brush;

SurfaceImageSource interface ISurfaceImageSourceNative { SetDevice(IDXGIDevice *pDevice); BeginDraw( RECT updateRect, IDXGISurface** ppSurface, POINT* pOffset ); EndDraw(); }; : IUnknown These methods must be called from the XAML UI thread

Object DependencyObject ImageSource SurfaceImageSource VirtualSurfaceImageSource DirectX XAML

VirtualSurfaceImageSource interface IVirtualSurfaceImageSourceNative: ISurfaceImageSourceNative { RegisterForUpdatesNeeded( IVirtualSurfaceUpdatesCallbackNative *pCallback); GetUpdateRects(RECT *pUpdates, DWORD count); GetUpdateRectCount(DWORD *pCount); Invalidate(RECT updateRect); }; interface IVirtualSurfaceUpdatesCallbackNative: IUnknown { UpdatesNeeded(); };

SurfaceImageSource interface ISurfaceImageSourceNativeWithD2D: IUnknown { SetDevice(IUnknown* device); BeginDraw(RECT updateRect, REFIID iid, void **updateObject POINT* offset); EndDraw(); SuspendDraw(); ResumeDraw(); } iid can be either: For using D3D: __uuidof(IDXGISurface)  *updateObject is IDXGISurface For optimized D2D batching: __uuidof(ID2D1DeviceContext)  *updateObject is ID2D1DeviceContext

SurfaceImageSource interface ISurfaceImageSourceNativeWithD2D: IUnknown { SetDevice(IUnknown* device); BeginDraw(RECT updateRect, REFIID iid, void **updateObject POINT* offset); SuspendDraw(); ResumeDraw(); EndDraw(); } These methods can be freely called from any thread

DirectX

interface ISwapChainBackgroundPanelNative: IUnknown { SetSwapChain(IDXGISwapChain *pSwapChain); }; SwapChainPanel/SwapChainBackgroundP anel interface ISwapChainPanelNative: IUnknown { SetSwapChain(IDXGISwapChain *pSwapChain); }; (Look familiar?)

SwapChainPanel SwapChainPanel : Grid { // Can be called from any non-UI thread, to create a pipe to receive input on CreateCoreIndependentInputSource(CoreInputDeviceTypes deviceTypes, CoreIndependentInputSource** source); // Events CompositionScaleChanged(); };

CoreIndependentInputSource { // Events PointerPressed(…) PointerReleased(…) PointerMoved(…) // Properties Windows.Foundation.Point PointerPosition /*... */ }; CoreIndependentInputSource provides access to all pointer based events and state, when the input is routed to the SwapChainPanel

You can use XAML and DirectX together to create great apps and games Use both swap chain-style and surface-style interop, depending on application needs XAML + DirectX + independent input allows for responsive, custom rendering in XAML apps

Session CodeSpeakerTitle 2-164Tim HeuerWhat’s new in XAML? 3-157Kiran KumarXAML Performance Fundamentals 2-047Kam VedBratBuilding games for Windows 2-192Chris AndersonBuilding a UI: What Does It Cost? 4-021Silvana MoncayoDirectComposition: Smooth Composition and Animation for Desktop Applications 4-072Frank OlivierHyper-Fast Web Graphics with OpenGL

What? Are you interested in having an impact on the future user experiences in Visual Studio? Come help us shape the future. Give us your feedback! When & Where? Schedule a time with us Room 254 South Moscone, West Mezzanine Level Why? Your input and feedback will influence future Microsoft Visual Studio tools