Fun With Shapes - ZigZag

by Avatar Bill Henning (Actipro)
Tuesday, November 4, 2014 at 11:49am

BlogPostBanner20142Tips

In the 2014.2 versions of our controls for the WPF, Silverlight, and WinRT/XAML platforms we've been adding several new shape controls to our Shared Library that can be very handy in setting up unique interfaces in your apps.

Yesterday's post examined the new Triangle shape.  For today's post, we'll take a look at a new ZigZag shape that is coming in the next 2014.2 maintenance release.

Introduction

The zig-zag shape renders straight lines that cross from one edge of the shape to the other, and back again.  The apex side and the number of apexes to render can be specified.  It's also possible to set whether the "inside" (fill) of the shape is inverted, or moved to the other side of the apexes.

ZigZag1

Standard fill and stroke properties can be used to give the shape varied appearances.  The example on the right above is particularly interesting because it shows how an "inverted" zig-zag provides the left side of the red ribbon.  It is aligned next to a rectangle (behind the "New!") text, which allows it to generate a complex composited shape.

Advanced Usage

Zig-zag shapes are great for use when content requires a separator.

ZigZag2

Instead of always using a linear horizontal or vertical rule to separate content, the zig-zag shape adds some variety to the user interface.

Summary

Although shapes like zig-zags are small primitive controls, they can be very helpful in creating modern interesting user interfaces that don't rely purely on squares and rectangles.

You will be able to use our ZigZag class once the next maintenance releases of our 2014.2 WPF, Silverlight, and WinRT/XAML controls are published.

TaskDownload TaskLiveDemo TaskBuyNow

Fun With Shapes - Triangle

by Avatar Bill Henning (Actipro)
Monday, November 3, 2014 at 6:42am

BlogPostBanner20142Tips

In the 2014.2 versions of our controls for the WPF, Silverlight, and WinRT/XAML platforms we added several new shape controls to our Shared Library that can be very handy in setting up unique interfaces in your apps.

For this post, we'll take a look at a new Triangle shape.  Incidentally this shape is used in the MicroTrendIndicator control we recently added to our Micro Charts controls.

Introduction

The triangle shape is a basic triangle that will fill the area you give it.  You use an enumeration to set which side the apex (point) of the triangle is on.

Triangle1

Standard fill and stroke properties can be used to give the shape varied appearances.

Advanced Usage

While a triangle shape standalone might not be very interesting, when it's combined seamlessly into other UI, it can make for some very nice presentations.

Triangle2

In this usage scenario, we use the triangle shape to help build a touch-friendly sort of breadcrumb control.

Triangle3

Here's another breadcrumb usage scenario but in this case, a smaller centered triangle is used to divide the items.

Summary

Although shapes like triangles are small primitive controls, they can be very helpful in creating modern interesting user interfaces that don't rely purely on squares and rectangles.

You can use our Triangle class today by downloading the latest versions of our WPF, Silverlight, and WinRT/XAML controls.

TaskDownload TaskLiveDemo TaskBuyNow

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

by Avatar Bill Henning (Actipro)
Friday, September 12, 2014 at 8:08am

Major142ReleasesBlogPostBanner

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.

ProductHeadingGenericCharts

We've added six new built-in chart palette options, including Retro and Sand:

ChartPalettes

ProductHeadingWPFDocking

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.

ProductHeadingGenericEditors

Updated the Country and Currency classes with the latest ISO data.

WinRT/XAML Only

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.

ColorEditBoxOpened
See our Edit Boxes Overview for a summary of the controls and some links to additional posts describing their functionality.

ProductHeadingGenericMicroCharts

A new segment chart has been added that allows for visual display of an integer value within a total..

SegmentChartType

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.

StockChart

Six new built-in chart palettes have been added as well, including IceCream and Melon.

MicroChartPalettes
ProductHeadingWPFPropertyGrid

We've created a new custom property editor sample that shows how to easily add a custom property editor for a certain Type. 

PropertyGridCustomEditor


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.

ProductHeadingGenericSyntaxEditor

Quote auto-completion support has been added to the DelimiterAutoCompleter class, with double quote completion enabled by default.  As the user types a start quote, the related end quote will be auto-entered after the caret.  The C#, VB, Python, JavaScript, and JSON languages in our premium add-ons have been updated to support quote auto-completion.  It can easily be added to any custom languages as well.

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.

.NET Languages Add-on

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.

SyntaxEditorServerTags
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.

Python Language Add-on

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.

PythonIntelliPrompt
We'll blog about the language in more detail soon, but you can download and start using it today.

ProductHeadingGenericShared

A new triangle shape can be used in UI such as breadcrumbs, tabs, etc. 

Triangle
This shape can auto-size to its container and supports strokes and fills.

WPF Only

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.

TaskDownload TaskLiveDemo TaskBuyNow

WinRT/XAML Controls v2014.2 Released

by Avatar Bill Henning (Actipro)
Tuesday, August 26, 2014 at 2:32pm

BlogPostBannerWinRT142

The 2014.2 version of our WinRT/XAML controls have been released and are now available for download.

Major new features are described below.  See the announcement post for the detailed list of enhancements and updates, including many items not listed below.

ProductHeadingMisc

This version makes all the WinRT/XAML controls compatible with Windows Phone, meaning that licensed controls will work in both Windows Store and Windows Phone apps!

PhoneSampleBrowser

We've even added a nice phone-based Sample Browser app to show off usage of the controls on the phone.

ProductHeadingGenericEditors

Actipro Editors is a brand new product that we've been working on for quite a while now and provides over 30 user input controls for common .NET data types such as dates, times, numbers, colors, enumerations, sizes, and many more.

ColorEditBoxNoAlpha

Each of the controls features unique designs that have been specifically crafted to support input by keyboard, mouse, and touch. Data entry is quick and efficient regardless of the input method utilized by the end user, which is especially ideal for universal applications.

All of the controls fully support Windows Store and Windows Phone apps, with alternate appearances as appropriate for phone usage.

We will be blogging and walking through all of the controls in the next couple weeks so keep an eye on our blog.

ProductHeadingGenericMicroCharts

We've added a new MicroSegmentChart control for use on dashboards, infographics, or as progress indicators.

SegmentChartType

More details on this control soon too.

ProductHeadingGenericSyntaxEditor

Along with various minor enhancements and updates, we have added a brand new premium Python Language Add-on that supports advanced editing for Python v3.x and v2.x.  This first release includes parsing, syntax error reporting, code outlining, smart indent, delimiter highlighting/completion, and more.

CodeOutlining

Look for another update soon featuring automated IntelliPrompt!  See this previous blog post for more details on the new add-on.

ProductHeadingGenericShared

Several other fun new controls and converters are included with this version too.

  • Added the TransitioningContentPresenter control, which uses animated fade, slide, push, and zoom transitions when new content is set.
  • Added the ContentTransitionPreview control, which demonstrates a content transition by continuously cycling two content items.
  • Added the ParallaxConverter that can be used to create a parallax background scrolling effect.
  • Added the BooleanNotConverter that can invert boolean values.

TaskDownload TaskLiveDemo TaskBuyNow

WPF, Silverlight, and WinRT/XAML Controls v2014.1 Maintenance Releases

by Avatar Bill Henning (Actipro)
Monday, June 2, 2014 at 9:19am

20141MaintBlogPostBanner

New maintenance of 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:

ProductHeadingGenericCharts

Auto-Calculation of Tick Mark Intervals

ChartTickCalculation2

XYDoubleAxis, XYDecimalAxis, and XYDateTimeAxis have been updated to auto-calculate tick mark intervals when they aren't specifically set.  A new Axis Ticks QuickStart has been added that shows off automatic tick mark interval calculation.

Rendering Improvements

We've improved the rendering speed of data point labels, improved the rendering logic of bar charts, and updated data point labels to use a subtle border so that they don't blend in with surrounding chart objects of the same color.

Label Performance Improvements

Data point labels in pointer visibility mode now delay layouts until a pointer event occurs, thereby speeding up initial chart display.

Numeric Type Data Upconversion

XYChart now will automatically upconvert non-Double numeric type data to Double type so it can display.

ProductHeadingGenericDataGrid

Child Control Styles Applied to Some Auto-Generated Columns (WPF only)

ThemedDataGrid has been updated to style the child controls of auto-generated ComboBox and CheckBox columns.

ProductHeadingGenericDocking

Disabling Rafting Window Snap-to-Screen (WPF only)

Added the DockSite.IsRaftingWindowSnapToScreenEnabled, which can be set to false to prevent rafting windows from snapping to the closest screen when being displayed.

More Tabbed MDI Tile Options (WPF only)

Overloads to the TabbedMdiHost.TileHorizontally and TileVertically methods have been added that allow for a maximum number of columns/rows.  This permits additional tile configurations, such as a single row of tiles.

ProductHeadingGenericPropertyGrid

Double-Clicks Cycle Values (WPF only)

PropertyGridDoubleClick2

Updated double-clicks on property names to cycle through standard values if available.

CommitPendingChanges Helper Method (WPF only)

A PropertyGrid.CommitPendingChanges method has been added that forces any pending LostFocus bindings within property editors to update and ensure the data model is current.

ProductHeadingGenericSyntaxEditor

Navigable Symbols Hierarchy Support

Navigable symbols now support hierarchy levels and item indentation.  This feature was added to allow XML element hierarchies to be displayed in the NavigableSymbolSelector.

Numerous Minor Enhancements

Many minor enhancements have been made, which can be seen in the detailed update list.

LL(*) Parser Framework

A Grammar.AddChildFrom overload was added that allows for specification of a desired child index.

Web Languages Add-on

XmlNavigableSymbolProvider2

The XML grammar was reimplemented using type-specific AST nodes, thereby reducing overall AST memory usage by an average of 40%.  A XmlNavigableSymbolProvider service was added to the XML language that provides contextual element and attribute display in a NavigableSymbolSelector control.  The XML and HTML editor demos were updated to showcase the new navigable symbol provider features.

ProductHeadingGenericShared

Horizontal ListBox Control

HorizontalListBoxWinRT

The HorizontalListBox control was added, which allows for selection of items that are arranged horizontally with a uniform width.

UniformGrid Control (WinRT / Silverlight only)

UniformGrid3x3

The UniformGrid control was added, which is a Panel that can arrange content in a grid where all the cells in the grid have the same size.

RadialSlider Improvements

RadialSliderSegmented

The RadialSlider class logic for snapping values has been improved.

DelegateCommand (WinRT only)

The DelegateCommand class has been added, which is an implementation of ICommand that uses delegates.

TaskDownload TaskLiveDemo TaskBuyNow