• Products
  • Download
  • Purchase
  • Support
  • Company
Actipro Software company logo
Twitter Follow Actipro RSS Subscribe (RSS Feed)

The Actipro Blog

Tag Cloud

  • aero
  • blog
  • docking
  • editors
  • gauge
  • intelliprompt
  • navigation
  • propertygrid
  • ribbon
  • shared library
  • silverlight
  • syntaxeditor
  • themes
  • views
  • winforms
  • wpf

Latest Twitter News

November 21, 2011 at 11:14 AM
#WPF Studio 2011.2 is out now! Includes enhanced themes for native WPF conrtols and new SyntaxEditor features. http://t.co/uEMCaGPG

September 26, 2011 at 1:25 PM
If you'd like to see our #WPF / #Silverlight SyntaxEditor code editor control ported to Metro, provide feedback here: http://t.co/xXBNIDTi

September 15, 2011 at 8:31 PM
If you want to see SyntaxEditor eventually show up in Win8's #xaml UI, be sure to add your support to this MS thread: http://t.co/FBjz6TuC

August 15, 2011 at 1:47 PM
New SyntaxEditor IntelliPrompt parameter info feature docs/samples ready for the 2011.2 #WPF and #Silverlight releases. http://t.co/ezoYIjv

August 2, 2011 at 2:40 PM
First look at new automated IntelliPrompt parameter info coming to our C#/VB editor control in #WPF / #Silverlight http://t.co/CUz6O1T

Twitter Follow us on Twitter

Month List

  • 2012
    • February (2)
    • January (2)
  • 2011
    • December (2)
    • November (7)
    • October (2)
    • September (1)
    • August (5)
    • July (3)
    • June (6)
    • May (5)
    • April (8)
    • March (4)
    • February (5)
    • January (9)
  • 2010
    • December (9)
    • November (10)
    • October (4)
    • September (8)
    • August (12)
    • July (9)
    • June (7)
    • May (6)
    • April (7)
    • March (6)
    • February (6)
    • January (4)
  • 2009
    • December (2)
    • November (2)
    • October (12)
    • September (3)
    • August (11)
    • July (10)
    • June (6)
    • May (3)
    • April (7)
    • March (6)
    • February (8)
    • January (10)
  • 2008
    • December (10)
    • November (2)
    • October (3)
    • September (5)
    • August (5)
    • July (8)
    • June (4)
    • May (4)
    • April (10)
    • March (8)
    • February (1)
    • January (2)

Category List

  • RSS feed for ActiproActipro (288)
  • RSS feed for Blog SummaryBlog Summary (13)
  • RSS feed for GeneralGeneral (34)
  • RSS feed for In developmentIn development (149)
  • RSS feed for New featuresNew features (140)
  • RSS feed for New productNew product (30)
  • RSS feed for PromotionPromotion (2)
  • RSS feed for SilverlightSilverlight (71)
  • RSS feed for Tips and tricksTips and tricks (4)
  • RSS feed for Visual Studio 2008Visual Studio 2008 (2)
  • RSS feed for Windows FormsWindows Forms (19)
  • RSS feed for Windows VistaWindows Vista (10)
  • RSS feed for WPFWPF (235)
  • RSS feed for XAMLXAML (23)

About Us

Actipro Software is a leading provider of .NET user interface controls for the WPF, Silverlight, and WinForms frameworks, and is most well-known for their SyntaxEditor syntax-highlighting code editor control.

Please take some time to learn more about us and our product offerings.

First Look: Editors for WPF

December 30, 2008 at 3:45 AM
by Bill Henning (Actipro)

In addition to our work on SyntaxEditor for WPF, we are also actively building Editors for WPF. We previously announced that this product is going to include a parts-based editor, which will simplify data entry for various data types such as DateTime. We have completed most of the core functionality needed for building and presenting the various parts. We have also completed much of the work needed for a DateTime-specific implementation.

1

A DateTimeEditBox with a focus rectangle around the date group

In the image above, there are two groups (one for the Date and one for the Time) seperated by the literal text "at" inside the DateTimeEditBox. Both groups include several parts, such as month, day, and year. Each part can then present, modify, or validate it's data independently. This allows the day part to be restricted to 28/29, 30, or 31 depending on the current month. Additionally, this allows the user to update the month and have the day automatically corrected. For example, if the current date is "1/31/2009" and the month is changed to 2, then the current date would be updated to "2/28/2009".

By default, the DateTimeEditBox will build and configure the groups/parts based on easy-to-use properties. More complex setups can be accomplished as needed by using the groups/parts directly in a custom parts-editor. Additionally, since each group/part is ultimately a WPF control, you can style them like any other control. This gives you more control over the look and feel of the groups/parts.

We intend to provide specific implementations of the parts-based editor for several .Net types, including DateTime, IPAddress, Color, Size, and more. If you would like to see a parts-based editor for a specific .NET type, please let us know now. Of course, you can always leverage the infrastructure we are building for any custom types you may have.

We’ll post some more screenshots in the coming weeks as progress is made on specific implementations.

Tags: wpf, editors
Filed under: Actipro, In development, WPF
Submit to DotNetKicks...
Permalink | Comments (4)

Related posts

Actipro SyntaxEditor for WPF and Editors for WPF are released SyntaxEditor for WPF with a custom theme loaded Yesterday evening we published WP...First Look: Gauge for WPFWe've been hard at work over here on several new products for WPF Studio.  The first that I've ...First Look: Docking and SyntaxEditor for WPFA week or so ago in our newsletter we officially announced the development of Actipro Docking for WP...

Comments

December 31, 2008 at 17:46  

Christoph Brändle

Hello Bill

Looks great, keep in mind that timespan, like

2 days 12 hrs 30 min

is a unavailable but common editor requirement.

Cheers, Christoph

Christoph Brändle

January 3, 2009 at 03:35  

Mike Strobel

I second Christoph's request for custom input format support.  I should be able to provide a custom format string using the standard .NET format syntax and have the editor create the proper input parts *and* generate text blocks for any literals in the format string.  This functionality should essentially be "cost-free" to implement, since you'll need most of it to properly support different locales.

I have one request regarding aesthetics.  Please do not draw focus rectangles, "placeholder" underscores, or the standard blinking caret.  These are outdated UI concepts and rather unpleasing to look at.  I would suggest highlighting the focused input part with a solid background brush.  I think, since the range of input for such an editor is limited (as opposed to a standard TextBox) that an input caret is unnecessary--it can be assumed that inputting a new character will append or clear the content of the focused part (and that hitting backspace or delete will clear a character or the entire part, depending on the context).  Lastly, the editor parts should have fairly intelligent input recognition.  For instance, a Month part that is formatted to display the name of the month should display "June" when I hit the first 'J' (assuming it initially showed "January"), and "June" when I follow up with a 'u'.  If I then hit the up arrow, it change go to "May".  Naturally, this should work in other languages in which the names of the months are spelled differently.

Mike Strobel

January 3, 2009 at 08:37  

Mike Strobel

Whoops, my text prediction example should have read that hitting 'u' would *keep* "June" selected, and then hitting 'l' would select "July".  Obviously, hitting the up arrow at that point would revert to "June".

Mike Strobel

January 3, 2009 at 14:58  

Christoph - Thanks, we do have TimeSpan on our list of types that we'd like to support.

Mike - We do plan on using format strings to specify the input fields and literals. The format string would be one of the "easy-to-use properties" referred to above. Using format strings is pretty natural for types like DateTime, since there are a defined set of format parameters that can be used for the individual parts (year is YYYY, month is MM, etc). For things like TimeSpan, there is no set of format parameters which we could leverage (it only has one format). I think in these cases we will just define our own format parameters.

By default, there wouldn't be a focus rectangle, aside from that one that would be shown around the entire control when entered via the keyboard (e.g. FocusStyle). The image above was just an example to illustrate the different groups/parts.

For the placeholders, there are cases where you can get away without using indicators to show where input is needed (such as with the DateTime parts), but there are other cases where they would be needed. I agree that underscores are not the best prompt character, though. In addition to a configurable prompt character, we have support for prompt geometries mostly done. I've added a note to our TODO list for hiding the prompts altogether.

We can look into a "all or nothing" type entry for the parts. Initially, we were going to keep the caret and allow it to be moved between parts. With what you described, the user would need to re-enter the entire contents of the part. For most types (e.g. DateTime), this probably isn't an issue.

Your thoughts on the "intelligent input recognition" are identical to how we planned on implementing it. One noted exception is when typing secondary letters. For example, if I type 'J' then June would be selected. If I type 'J' again, then (assuming there is no "JJ*" entry) July would be selected. This would cycle around to the beginning of the list also, so January would be selected on a third 'J'.

Tom Goff (Actipro)

Comments are closed
Copyright © 1999-2012 Actipro Software LLC. All rights reserved.
Home Actipro Software | Products | Download | Contact Us