PropertyGrid Double-Clicking Enhancements

by Avatar Bill Henning (Actipro)
Monday, May 5, 2014 at 8:29am

PostBannerWPFControlsDevNotes

Our WPF PropertyGrid control allows you to embed an object editing interface into your applications that can make use of any type of custom editor, including our own powerful WPF Editors controls.

In today's post I wanted to review a new small, but very useful, enhancement coming to PropertyGrid in the next maintenance release: the ability to double click on a name cell and cycle through available standard values.

Example Usage

Let's have a look at how this works.

PropertyGridDoubleClick1

Here we have a PropertyGrid and you'll notice that the CharacterCasing property has standard values of Normal, Lower, etc.

PropertyGridDoubleClick2

By double-clicking on the name cell, the value cycles to the next value in the standard values list. 

Summary

This new feature makes it quick and easy for end users to cycle through standard values without having to show a drop-down list.  It will appear in the next maintenance release of our WPF controls.

TaskDownload TaskLiveDemo TaskBuyNow

WPF, Silverlight, and WinRT/XAML v2014.1 Released

by Avatar Bill Henning (Actipro)
Wednesday, March 12, 2014 at 10:37am

BlogPostBanner

The 2014.1 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 detailed list of enhancements and updates, including many items not listed below:

ProductHeadingWPFDocking

Metro themes have been dramatically refined and updated in this version, mostly in the area of Docking/MDI.  Updated UI includes subtle border lines, new auto-hide tab appearance, title bar gripper decorations, and more.

DockingMetro

Metro themes will now not show images on tabs by default, and have changed auto-hide tabs to require a click (instead of hover) to open.  These updates match Visual Studio 2013 behavior.

We've added new events for the auto-hide popup (flyout) that fire when it is opened or closed.  The popup is also now displayed using a faster default animation speed.

When the DockSite.AutoHidePopupOpensOnMouseHover property is false, clicks on auto-hide tabs are required to toggle the auto-hide popup opened and closed.

ProductHeadingWPFPropertyGrid

New built-in property editors for FontFamily, FontStretch, FontStyle, and FontWeight type properties have been added.

PropertyGridFontFamily

ProductHeadingWPFRibbon

New key tip specific theme resources have been added and key tips in Metro themes now render more like Office 2013.

CheckBox-based menu items now are capable of supporting tri-state display.

ProductHeadingGenericSyntaxEditor

Delimiter auto-completion logic for insertion and subsequent scope tracking has been greatly improved.  Delimiter indent provider can now optionally support square braces.

Added a new property that allows SyntaxEditor to measure itself based on text contents.  This works great for smaller documents in both multi-line and single-line modes.

SyntaxEditorAutoSize

Updated single-line mode to support word wrap, which is very useful when combined with the new view line measuring option.

SyntaxEditorSingleLineWrapped

Bookmark indicators now support an IsEnabled state.

LipsumGenerator class added to support generation of "lorem ipsum" placeholder text.

Changed block indent mode to retain whitespace after the caret when Enter is pressed.

.NET Languages Add-on

Numerous improvements to the VB language's handling of identifiers and variable declarations that don't include a type.

Web Languages Add-on

Added IntelliPrompt completion for keywords and symbols to the JavaScript language.

JavaScriptCompletion

Added a new advanced JSON language that can be used to view/edit JSON files, along with a new related QuickStart.

JsonLanguage

Updated JavaScript language to support multi-line strings via backslash continuation.

ProductHeadingWPFThemes

Many improvements to Metro themes (mostly in the Docking/MDI area described above), and improved WindowChrome (and RibbonWindow) rendering when maximized.

ProductHeadingGenericShared

WPF/Silverlight Only

Added the RadialSlider control, which is a circular slider that can be used to input any scalar value.

RadialSliderIntro

Added the RingSlice control, which renders a portion of a ring at designated angles and radius.

RingSliceProgressIndicator

Added the CircularThumb control, which is a thumb gripper with a circular shape and arrow adornment.

Added three samples for new Shared Library controls.

WinRT/XAML Only

Added the AppBarHint control, which is a visual hint to users that app bars exist on a page, and can be tapped to toggle them open. 

AppBarHint

Added a related QuickStart.

ProductHeadingMisc

Sample Browser (WPF/Silverlight only)

Added the ability to toggle description sidebar on some samples.

TaskDownload TaskLiveDemo TaskBuyNow

New Font-Related PropertyGrid Editors

by Avatar Bill Henning (Actipro)
Friday, March 7, 2014 at 10:19am

PostBannerWPFControlsDevNotes

We've got some more new features coming to our WPF PropertyGrid control in the upcoming 2014.1 version. 

In the new version, when an object with any sort of font-related property (like FontFamily, FontStretch, FontStyle, or FontWeight) is edited in PropertyGrid, it will automatically use new built-in editors designed specifically for those property types.  The editors kick in based on the return type of the property.  For instance, you could have a property defined as this and the FontFamily property editor will be used:

public FontFamily HeaderFontFamily { get; set; }

Example Screenshots

Let's see the new features in action.  Here are some screenshots:

PropertyGridFontFamily

The screenshot above shows the FontFamily drop-down.

PropertyGridFontWeight

The screenshot above shows the FontWeight drop-down.

Summary

These new features will be available in the 2014.1 version of PropertyGrid for WPF.

TaskDownload TaskLiveDemo TaskBuyNow

WPF Controls 2013.2 Build 592 Released

by Avatar Bill Henning (Actipro)
Thursday, December 19, 2013 at 9:52pm

WPFBlogPostBanner

WPF Controls 2013.2 build 592 has been released and is now available for download.  This build focuses on numerous enhancements and bug fixes.  While many updates were made, major ones are listed below.

See the announcement post for the detailed list of enhancements and updates.

ProductHeadingGenericCharts_thumb_thumb

  • Added the ability to alter the label positioning mode algorithm for a series.

ProductHeadingGenericDocking

  • Improved support for high DPI scenarios.
  • Improved support for highlighting tabs when interop controls get focus.

ProductHeadingGenericMicroCharts

  • Added support for the Metro Dark theme.

ProductHeadingGenericPropertyGrid

  • Added a new Property Dialog QuickStart that shows how to display a dialog from a property editor.

ProductHeadingGenericSyntaxEditor_thumb_thumb

  • Added the ability to edit multiple lines of text at the same time when block selection is active.
  • Added incremental search features.
  • Added the ability to highlight search match results within a view.
  • Added support for alpha-blended foreground/background style colors.
  • .NET Languages Add-on - Added a 'deprecated' quick info note on types/members flagged as Obsolete.

ProductHeadingGenericThemes

  • Improved WindowChrome (and RibbonWindow) rendering in various scenarios.

TaskDownload TaskLiveDemo TaskBuyNow