WPF Controls 2013.1 build 583 has been released and is now available for download. This build focuses on minor enhancements and bug fixes.
See the announcement post for the detailed list of enhancements and updates.
WPF Controls 2013.1 build 583 has been released and is now available for download. This build focuses on minor enhancements and bug fixes.
See the announcement post for the detailed list of enhancements and updates.
Several weeks ago, we announced a new Delimiter Auto-Complete feature coming to the 2013.2 version of SyntaxEditor for WPF and Silverlight. This feature is great because it improves typing efficiency by auto-inserting end delimiters when the start delimiter is typed.
We have been wanting to improve the typing experience even more and in today's post, I'd like to announce that curly brace auto-indent is also coming.
When the caret is in the middle of a curly brace pair, pressing Enter normally will move the close curly brace to the next line with the caret right in front of it. If you have an indent provider for your language, the close curly brace will be indented properly however it's still not an ideal situation because you generally want the caret to be on its own line before the close curly brace's line.
This scenario is where curly brace auto-indent comes in! This feature injects a new blank line in between the braces, indents one more level, and positions the caret on that line.
Let's start with a regular JavaScript function declaration. Note how the caret in in between a curly brace pair.
In the past, if you pressed Enter, you'd get this:
With the new curly brace auto-indent feature, instead of the above when you press Enter, you will get now this:
The end user is immediately able to start typing content for the function.
These new features will be available in the 2013.2 version of SyntaxEditor, and are built into our advanced C# and JavaScript languages for this version.
They can easily be added to any custom language as well with a few lines of code.
WPF Controls 2013.1 build 582 has been released and is now available for download. This build focuses on minor enhancements and bug fixes.
See the announcement post for the detailed list of enhancements and updates.
In today's post I'd like to announce another new feature coming to the 2013.2 version of SyntaxEditor for WPF and Silverlight: indentation guides.
Indentation guides are subtle vertical lines that render at each tab stop on lines prior to the first non-whitespace character. They help visually align the indentation of visible code blocks.
You can see the silver indentation guide lines in the tab stops within this screenshot:
Whitespace-only lines are intelligent and render indentation guides based on the tab stop level of surrounding text.
These new features will be available in the 2013.2 version of SyntaxEditor!
Today I'd like to reveal a new control coming to our WPF and Silverlight Views products in the 2013.2 version: InertiaScrollViewer.
The InertiaScrollViewer control is a drop-in replacement for the native WPF/Silverlight ScrollViewer control but allows you to scroll content using touch, similar to what you're used to on Windows 8 and mobile devices.
It reacts to dragging, flicking, mouse wheel, and normal mouse operation via the scrollbars. You can adjust properties like EasingFunction, VelocityTimeRatio, and VelocityDistanceRatio to fully control how inertia scrolling looks and feels.
In the screenshot above, you can see how our main Sample Browser pages have been updated with InertiaScrollViewer, allowing full touch interaction and navigation within them.
With a deluge of new touch-enabled Windows PCs entering the market, you'll be able to update your WPF and Silverlight apps with InertiaScrollViewer and take full advantage of this new hardware.
InertiaScrollViewer will available in the 2013.2 version of Views for WPF and Silverlight. We've also added a new related QuickStart to our Sample Browser application.