SyntaxEditor Quote Delimiter Auto-Completion

by Avatar Bill Henning (Actipro)
Wednesday, October 15, 2014 at 3:18pm

PostBannerSyntaxEditorDevNotes

In today's post I'd like to show off another new feature that was added to SyntaxEditor (WPF, Silverlight, and WinRT/XAML platforms) in its 2014.2 version: quote delimiter auto-completion.

Quote Delimiter Auto-Completion

SyntaxEditor already had some great delimiter-related features like delimiter highlighting and delimiter auto-completion for curly braces, square braces, and parentheses.  These have been in the product for a while. 

We had a number of customers also request that support for quote auto-completion be added to assist with working with strings, and that's what's been added.  Quote auto-completion support is now built into the DelimiterAutoCompleter class, with double quote completion enabled by default.  Single quote completion can be activated as well but is not enabled by default since some languages use single quotes as single line comment delimiters.

Let's see it in action!  Here we are using our new Python add-on language to start typing an author designation:

QuoteCompletion1

Next I type a double quote character:

QuoteCompletion2

The end double quote is auto-inserted, but after the caret.  This allows me to type the string content directly in without having to use arrow keys.

QuoteCompletion3

Now that I've typed in the string content, I type the double quote again.  SyntaxEditor knows that it's the quote that was recently auto-completed, so it effectively overwrites the existing quote instead of adding another double quote.  The caret ends up after the string, as expected.

QuoteCompletion4

Summary

The quote delimiter auto-completion features were added in the 2014.2 version of our WPF, Silverlight, and WinRT/XAML controls.

They also have been pre-configured to automatically work in these premium SyntaxEditor add-on languages: C#, VB, Python, JavaScript, and JSON.  They can easily be added to your own custom languages as well.

TaskDownload TaskLiveDemo TaskBuyNow

Actipro Blog 2014 Q3 Posting Summary

by Avatar Bill Henning (Actipro)
Wednesday, October 15, 2014 at 3:16pm

BlogSummaryBlogPostBanner

What We Accomplished

In this quarter, we published the 2014.2 versions of our WPF, Silverlight, and WinRT/XAML controls.  These versions included several new controls, a new Python Language Add-on for SyntaxEditor, and some big feature enhancements for our existing controls.  Check out the release posts for more detail.

One big piece of the new WinRT/XAML control updates was that we made all our controls universal controls, compatible with both Windows Store 8.1 apps and Windows Phone 8.1 apps.

I want to also call particular attention to our new Editors controls that we custom developed for use in Windows Store and Windows Phone apps.  The editors use some brand new unique designs that allow users to efficiently enter data with keyboard, mouse, or touch.  Be sure to check those out!

Our Code Writer app received some nice updates as well.

What’s Coming Next

We're now working on more v2014.2 updates for our existing controls and on some new controls as well.

Blog Post List

Control Product Development

Product Releases

Micro Charts - Trend Indicators

by Avatar Bill Henning (Actipro)
Tuesday, September 30, 2014 at 4:24pm

MicroChartsDevNotesBlogPostBanner

In today's post, we will introduce another new micro chart control that was added in the 2014.2 versions of our WPF, Silverlight, and WinRT/XAML controls:  the MicroTrendIndicator control.

What Is a Trend Indicator?

The trend indicator is a three state control that is intended to reflect whether a numeric value is higher, the same as, or lower than an origin value.

Price

This sort of element is commonly used in stock value display where the origin value is bound to the previous day's stock price, and the value is bound to the current price. The trend indicator then renders an upward green triangle if there was positive movement, a gray line if no change, or a red triangle if there was negative movement.

StockReport

If the values are updating live, the indicator changes use a pleasing animation that rotates and fades in the new indicator.

The template for each state's indicator can be customized as well, allowing for any combination of shapes and elements to indicate the trend state.

Summary

There are a lot of uses for trend indicators, such as in dashboards or reports.  Download the 2014.2 versions of our products to check out the new chart type.

TaskDownload TaskLiveDemo TaskBuyNow

Micro Charts - Segment Charts

by Avatar Bill Henning (Actipro)
Monday, September 22, 2014 at 9:15am

MicroChartsDevNotesBlogPostBanner

In today's post, I wanted to introduce a new micro chart control that was added in the 2014.2 versions of our WPF, Silverlight, and WinRT/XAML controls:  the MicroSegmentChart control.

What Is a Segment Chart?

A segment chart provides a visual representation of an integer value in relation to a total number.  Each segment in the chart is rendered as highlighted or unhighlighted.  For instance, if the value is 3 of 10, there will be 10 total segments displayed, with the first 3 rendering as highlighted.

MicroSegmentChart

This sort of chart is great for use on dashboards, and also as an indicator of steps or progress achieved.

MicroSegmentChartCircles

The style for the segments can be customized, allowing for any sort of shape, size, or color combination.  The Panel used to render the chart can also be set, enabling wrapping and other layout scenarios.

MicroSegmentChart100Wrapped

In the WPF and Silverlight versions, value converters can be used to further customize the brush or size of each segment to create some interesting effects:

MicroSegmentChartLevels

Summary

There are a lot of uses for a segment chart, such as in dashboards or as progress indicators.  Download the 2014.2 versions of our products to check out the new chart type.

TaskDownload TaskLiveDemo TaskBuyNow

Editors for WinRT - DateTimeEditBox

by Avatar Bill Henning (Actipro)
Friday, September 19, 2014 at 8:32am

PostBannerWinRTControlsDevNotes

In recent posts, we've shown off some of our new edit box controls for WinRT (Windows Store and Windows Phone apps).  We saw our DateEditBox, which is used for date input.  And then we saw our TimeEditBox, which is used for time input.  We also have a DateTimeEditBox, which can edit a date and time in the same control.  That's what we'll show in today's post.

Windows Store Variant

The DateTimeEditBox control is used to input a DateTime value, and uses a DateTimePicker control in its popup.

DateTimeEditBoxOpened

Edit boxes work great with a keyboard.  When the edit box is focused, values can be directly typed in.  Type in "9/9/14 10am", "09/09/2014 10:00", "2014-09-09 10AM", etc. and press Enter.  Any of those will commit the same date/time value.  You can also move the caret to one of the date/time components (month, day, year, hour, minute, second, AM/PM) and use keyboard arrow keys, PgUp/PgDn, or the mouse wheel to increment values.  Best of all, pressing the left/right arrow keys will instantly jump between the various "parts" (components) of the edit box value and select the part's text.

The date/time value can be displayed in any desired standard or custom format.  By default it will use the current culture's default date/time format.

If the user doesn't have a keyboard, mouse or touch can be used to display the popup.  The popup contains a HorizontalListBox at the top that switches between DatePicker and TimePicker controls.  These two pickers allow for easy mouse/touch selection of dates and times.

Compare to Native WinRT DatePicker and TimePicker

Most competitors have either made date and time pickers that show a large Windows Phone-like spinning selectors, or have gone with the multiple ComboBox approach like these native WinRT DatePicker and TimePicker controls do:

NativeDatePicker

TimePicker

Neither of those control types are ideal for WinRT apps that can potentially be run on large desktops with keyboards.  Compare the usability of the above to our single control:

DateTimeEditBoxClosed

Windows Phone Variant

Just like our other edit boxes, this edit box will render itself like a button when used on Windows Phone.  Tapping the button shows a full screen picker (same as above) where the date value can be selected.

Summary

This post shows how an DateTimeEditBox control can accept date and time input in a single control within a Windows Store or Windows Phone app.  Download our WinRT/XAML Controls to check it out, along with our other beautiful and functional editor controls!

TaskDownload TaskLiveDemo TaskBuyNow