Tweets by @Actipro
Please take some time to learn more about us and our product offerings.
Our WPF PropertyGrid control is an extremely powerful way to edit the properties of any object.
While a lot of PropertyGrid usage is for basic properties such as numbers, strings, dates, etc., properties can be of any custom Type as well. In our most recent release of the WPF controls, we created a new custom property editor sample that shows how to easily add a custom property editor for a certain Type.
The screenshot above shows how a custom enumeration named OnOffAuto was created. The object being edited in the PropertyGrid has several properties that are of that type. We defined in XAML a custom template that uses our HorizontalListBox control to allow for easy selection of the options.
In the case of the Security Alarm property, we made a further customized property editor template that only shows two of the options instead of all three. This specialized template is configured to only apply to that one specific property.
While this sample shows how to make a custom property editor for an enumeration type, the same concepts can be applied to any custom type.
In recent builds, we have further improved the editing experience when using PropertyGrid. We added built-in property editors for font-related properties. We added support so that double-clicking a property name will cycle through any standard value options that the property has. In the event that the property doesn't support standard values, double-clicking the property name will attempt to focus the related editor instead and select all text if possible.
Download the latest build of our WPF controls to see this new sample and obtain the latest editing features.
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.
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:
Next I type a double quote character:
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.
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.
The quote delimiter auto-completion features were added in the 2014.2 version of our WPF, Silverlight, and WinRT/XAML controls.
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.
We're now working on more v2014.2 updates for our existing controls and on some new controls as well.
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.
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.
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.
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.
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.
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.
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.
This sort of chart is great for use on dashboards, and also as an indicator of steps or progress achieved.
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.
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:
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.
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.
The DateTimeEditBox control is used to input a DateTime value, and uses a DateTimePicker control in its popup.
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.
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:
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:
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.
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!
Code Writer v2.4, our free text/code editor app, is now live in the Windows Store.
Are you interested in adding code or text editing abilities to your own Windows Store apps? SyntaxEditor for WinRT/XAML allows you to build apps just like Code Writer. Download a free evaluation to try it out.
Check out all the new features added to Code Writer…
Quote delimiter auto-completion has been added for most file types.
In the screenshot above where a JSON file is being edited, I've typed a quote character to start a string and its end quote was auto-completed.
Code Writer is now a text share target, meaning that any other Windows Store app can share text to it. For instance, if I open up the "My first note" note in OneNote and use the Share Charm, I see Code Writer listed:
By tapping the Code Writer item in that list, it opens another flyout where the text that will be sent to Code Writer can be previewed. Simply tap the "Create a Document" button and a new document will be opened in Code Writer that contains the sent text.
Code Writer is also a share target for all of the default file type extensions. For instance, if you have OneDrive open and select a file, you can open the Sharm charm and Code Writer will be listed as a share target.
Tap on Code Writer and a flyout will open that displays the files being shared. Press the Open File button and the file will be opened in Code Writer.
Multiple files can be opened at a time too!
We've added a special new character encoding option that can be found in the Editor Settings flyout for using UTF-8 without a signature.
When opening non-Unicode files, the default character encoding specified in Editor Settings is now used as appropriate.
We've also improved international support with better caret/selection movement and delete and backspace functionality around multi-byte Unicode characters.
This update adds several features that have been highly requested by our users, and we're excited to get it into your hands.
You can also download a free evaluation of our SyntaxEditor control for WinRT/XAML, which lets you add advanced code and text editing to your own Windows Store apps.
The 2014.4 versions of our WPF, Silverlight, and WinRT/XAML controls have been released and are now available for download.
Major new features are described below. See the announcement posts for the large detailed list of enhancements and updates, including many items not listed below:
Note that the 2014.2 version of the WinRT/XAML controls came out last month, introducing our Editors controls, but a new maintenance release is available today adding other new features.
We've added six new built-in chart palette options, including Retro and Sand:
Docking/MDI received numerous updates, including a new option for rafting windows to not hide when in scenario where their owner DockSite is hidden, such as if it's nested in tabs itself. Many updates to focus handling were made, especially in relation to interop controls like WinForms/ActiveX.
Updated the Country and Currency classes with the latest ISO data.
As announced in recent blog posts, our WinRT/XAML controls now have some really unique and universal (Windows Store / Windows Phone) controls for accepting input of common data types.
See our Edit Boxes Overview for a summary of the controls and some links to additional posts describing their functionality.
A new segment chart has been added that allows for visual display of an integer value within a total..
This sort of chart is great for use on dashboards, and also as an indicator of steps or progress achieved.
Another new control is the arrow indicator displayed on the left side of the stock chart below. It's called a trend indicator and alters its UI to reflect whether a numeric value is greater than, the same as, or less than an origin value.
Six new built-in chart palettes have been added as well, including IceCream and Melon.
We've created a new custom property editor sample that shows how to easily add a custom property editor for a certain Type.
Double-clicking a property name has been improved such that if the property doesn't support standard values, it will attempt to focus the related editor instead and select all text.
We've added some nice new features like a ScrollIntoView method that can ensure that a text position is visible within the view, improved caret/selection movement around and delete/backspace of multi-byte characters, and improved backspace to move to the previous tab stop when auto-convert tabs to spaces is active and the caret is before the first non-whitespace character on the line.
We've had a lot of requests for showing how to support ASP-style server tags, where the C# within the tags has automated IntelliPrompt.
We're happy to deliver a new full source sample (seen above) that shows how to harness our .NET Languages Add-on within server tags.
Today's releases contain the first version of our Python Language Add-on, a new premium add-on that supports both v2.x and v3.x syntax.
We'll blog about the language in more detail soon, but you can download and start using it today.
A new triangle shape can be used in UI such as breadcrumbs, tabs, etc.
This shape can auto-size to its container and supports strokes and fills.
We've added a ZoomLevelToTextFormattingModeConverter class, which can switch from Display to Ideal text formatting mode when the zoom level is increased, thereby keeping text clear in any scenario.
WinForms Controls 2014.1 build 321 has been released and is now available for download.
See the announcement post for the detailed list of enhancements and updates.
In the recent posts, we have seen color, enumeration, and date edit boxes, which are all part of the new WinRT/XAML Editors product. In today's post, we'll take a look at the TimeEditBox controls, which make it easy to select a time value.
The TimeEditBox control is used to input a DateTime value, and uses a TimePicker control in its popup.
Edit boxes work great with a keyboard. When the edit box is focused, values can be directly typed in. Type in "10am", "10:00", "10:00 AM", etc. and press Enter. Any of those will commit the same time value. You can also move the caret to one of the time components (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 time value can be displayed in any desired standard or custom format. By default it will use the current culture's default time format.
If the user doesn't have a keyboard, mouse or touch can be used to display the popup. The popup contains a TimePicker control, which uses an analog clock-like user interface. It is comprised of two radial sliders. The inner slider alters the hour (spin clockwise one cycle to get to PM hours) and the outer slider alters the minute.
As shown in the previous post related to date editing, most competitors have either made date/time pickers that show a large Windows Phone-like spinning selector, or have gone with the multiple ComboBox approach like the native WinRT TimePicker control does:
Neither of those control types are ideal for WinRT apps that can potentially be run on large desktops with keyboards. Compare the design to ours:
Not only does our TimeEditBox use less overall space and reduce UI clutter, it is also super efficient when combined with a keyboard.
This post shows how an TimeEditBox control can make it simple for an end user to select a time value 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!