Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 29128

Windows 8.1 - New Features in XAML

$
0
0
  • New Date Picker and Timer Picker controls are now available in Windows 8.1
  • Flyouts- Lightweight commanding layers that dismisses.
    • In XAML - We surface this in Popup class
    • Flyout and MenuFlyout
    • Settings Flyout - We now have a new control out of the box to do this.
  • Theming - Dark and Light themes
    • In Win 8.0, one can change the Dark/White theme once.
    • In XAML , set RequestedTheme="Light". That element and all of its child elements will follow that theme.
    • However, HighContrast setting in the Control Panel will override this.
    • Created ThemeResource. Replace StaticResource in Wind 8 code with ThemeResource term.
  • Hub Control - Bing Travel App like Experience, New Visual Studio project template.
    • List view and Grid view for a vertical and horizontal layout
    • Hero Image and followed by Hub Sections (Content Control)
    • Deferred loading of Hub Sections. Don’t have to wait for all the hub sections to load.
  • Styles - StandardStyles.xaml. We broke every framework Style into to its own and added them into the Framework. Don’t need any base text definition in the app anymore.
    • VS has intellisense on StaticResource now. VS will also enumerate the Styles available in your app and also in the framework.
  • CommandBar- New Command. It has Primary (right Side) and Secondary Commands (left Side).
  • SearchBoxControl
    • Integrate with Search API
    • Prescriptive suggest experience
    • IME integration included\
  • Media
    • Simple API - AreTransportControlsEnabled
    • Get Core personality and functionality
    • Full Screen API
    • Better performance for media/AML interaction
    • Custom experiences built on media APIs
  • Graphics
    • Windows 8 enabled XAML and DirectX interop in a single app. Windows 8.1 improves upon that.
    • Interact with SurfaceimageSource and VirtualImageSource is with a SwapChainBackgroundPanel - It had to be the root element. Draw content there. You wanted to support SwapChain. Heve interop in any element in the UI element tree.
  • WebView - Enhanced
    • Rendering Local content via URI
    • Seamless integration into XAML
    • Navigation Control
    • Event Lifecycle - back, forward, history etc. E.g. Read a ePub file in local storage and render the content.
      • Listening to WebView Unknown content API
      • Custom Resolvers can be plugged in to find the content and passes the HTML
      • Increased security via app content URI
  • RenderTargetBitmap is one of the top requested feature - Functionality is now available in Windows 8.1.
  • Great Performance improvements in Windows 8.1
    • Startups
      • Defer loading of keyed resources
      • Delay-load of theme resources
      • Using primitive composition techniques for lists
      • Optimize known XAML paths
      • Packaged XAML does not contain clear text anymore. It will be in a XAML Binary Format (XBF files, optimized node stream). Startup performance improved 25%)
    • Large List
      • Grid and ListView had startup and panning issues
      • By default we give simple API to improve user perception
      • Also provide lower level APIs, which tells in which phases the content should be rendered.
  • Hyperlink is back
  • Text and Input
    • Alignment APIs (snap to baseline for 20px grid alignment)
    • PlaceholderText on TextBox controls
    • Header on text (and other) controls
    • SelectionHighlightColor
    • BiDi (TextReadingOrder)
    • Color fonts (Emoji FTW!!)
    • Paste event on TextBox
    • CharacterEllipsis
  • Input and Manipulation
    • Programmatic smooth panning (ChangeView)
    • Predictive information on panning (ViewChanging)
    • Combining manipulation modes
    • New APIs on ScrollViewer for locking scroll regions. - Excel like experiences
    • Programmatic focus movement
  • Binding
    • Improved performance by 40%
    • Access to BindingExpression
    • TargetNullValue
    • Fallback value
    • Updatesrouce trigger
    • DependencyObjectCollection(behaviors SDK)
  • Navigation
    • Navigation Stack control - Control your own back and forward stack. Able to inject before and after stack.
    • Multi-Mon DPI awareness - App between High to Low Res monitors, the right scale factor is applied automatically.
    • High contrast awareness, Themed Resource will take care of this
    • Accessibility improvements- Narrator scenarios and UI Automation aspects.
    • Animation enhancements - Mouse wheel support to FlipView
    • PDF Render API - Now ale to render PDF in XAML
  • Over 650 new APIs in the Windows 8.1 release

Viewing all articles
Browse latest Browse all 29128

Trending Articles



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