Infragistics(R) NetAdvantage(R) WPF
What's New in 2010 Volume 2
E-mail your feedback on this topic.

Glossary Item Box

The Infragistics NetAdvantage WPF 2010 Vol. 2 release contains a powerful set of line of business controls.

Click the links below to see a list of the controls and features being offered in this release.

.NET 4.0 Builds

Starting with the 10.2 release, the Infragistics NetAdvantage WPF will include .NET 4.0 builds of all WPF control assemblies in addition to the .NET 3.0 builds previously included.

The 10.2 product installer will install the .NET 3.0 builds and then look for the presence of VS2010 on the target system. If VS2010 is installed on the system, the installer will then also install the .NET 4.0 builds of the control assemblies.

These are the folder locations for the two versions of the control assemblies:

C:\Program Files\Infragistics\NetAdvantage 2010.2\WPF\CLR3.0
Contains the .NET 3.0 assemblies

C:\Program Files\Infragistics\NetAdvantage 2010.2\WPF\CLR4.0
Contains the .NET 4.0 assemblies

C:\Program Files\Infragistics\NetAdvantage 2010.2\WPF\DefaultStyles
Contains the default styles shared between the two versions of the controls

C:\Program Files\Infragistics\NetAdvantage 2010.2\WPFCommon
Contains .NET 4.0 shared assemblies between the WPF LoB (Line of Business) and WPF DV (Data Visualization) products, which includes:
  • Infragistics NetAdvantage WPF common controls assembly
  • Infragistics NetAdvantage WPF XamChart control
  • Infragistics NetAdvantage WPF Excel Engine

The assemblies names have been changed - the prefix Infragistics3.Wpf is now changed to InfragisticsWPF3. Also the .NET 4.0 assemblies are using the InfragisticsWPF4 prefix. For more information see the Upgrading section.

VisualStateManager Support

With the introduction of .NET 4.0, Microsoft has added support for VisualStateManager to WPF (prior to .NET 4.0, VisualStateManager was only supported in Silverlight). To leverage this new capability, we have added VisualStateManager support to all of our WPF controls 10.2. VisualStateManager provides a much simpler model for applying visual states to controls.

As part of our VSM support, all of our WPF controls (as well as their ‘siginificant’ child elements) now expose a series of VisualStates which are dynamically and automatically selected as the ‘current state’ by the control at runtime based on interaction with the end user. You can ‘react’ to state changes by modifying your custom templates for our control elements to kickoff storyboards whenever the element transitions from one state to another and/or whenever a particular state becomes active.

While the default templates for our existing WPF controls will continue to use Triggers, the developer is now free to choose between Triggers and VisualStateManager when creating custom Templates for any element in any of our controls. In fact, you can use both Triggers and VisualStates/VisualTransitions in the same template if/when the need arises.

VisualStateManager is a simple but flexible way to apply visual states to NA/WPF controls. It provides a mechanism for easily customizing both the look and feel of a control by exposing a way to transition property values whenever the state of the control changes. It automatically generates the transitions between visual states so you spend less time writing code and more time on the visual states that are defined in the template. Using Expression Blend, you can easily see what the supported states are for a given element, and just as easily write and attach Storyboards that produce the desired effects when element states change.

You can read more about VisualStateManager on the MSDN Web Site

Startup Solution

Starting with the 2010 volume 2 release, the Infragistics NetAdvantage WPF will include a Startup Solution for Visual Studio 2010. The solution contains several unfinished examples, which will quickly give you a hands-on learning experience regarding the basic for our main controls and their most common scenarios.

We recommend looking at the Visual Studio’s “Task List” window and try to uncomment some of the commented code together with reading the guidance provided within the code comments. This will allow you to see and experiment with different aspects of the controls’ features and behaviors.

The examples show the essential functionality of the controls and don’t cover more advanced scenarios. Many more finished samples are available at: http://samples.infragistics.com. More detailed and advanced guidance and code examples are also available through the online documentation.

The Startup Solution is available just after installing the Infragistics NetAdvantage WPF product.

Design-time SmartTags

For Infragistics NetAdvantage WPF 10.2, we are starting to add SmartTag-like support to our controls to improve the design-time experience and enable developers to quickly configure the key properties of the control. This support will be exposed in our VS2010/Blend3/Blend4 compatible designer assemblies, so it will not increase the size of the control assemblies you ship with your applications.

SmartTags have been supported in VS2008 and earlier by the WindowsForms Designer, but never for the WPF designer. We have built our own SmartTag Framework to extend this popular Windows Forms designer functionality to our WPF controls.

Using these SmartTags is easy – when you select one of the SmartTag enabled NetAdvantage WPF controls, an adorner (the small rectangular button with a right-pointing triangle) will appear in the upper right corner of the control:

Press this button to open the SmartTag panel. It will display a series of Properties and/or tasks that apply to the selected element or control. Simply click on the hyperlink to execute a task or select the property to edit its value in much the same way you would in the VS Property Window. All properties display a little blue question mark graphic at its right edge which displays additional descriptive information for the property in a tooltip when the mouse is hovered over the graphics.

Adorners and SmartTags will appear on other ‘significant’ child elements of the control when they are selected on the VS design surface, as shown with the ButtonTool in the image below. Note that SmartTags will only be available for the larger more complex controls in the initial 10.2 release. We will be rolling out SmartTag support for the remaining controls in follow-on service releases, with all controls supported in the next full version release – i.e., 10.3. Note also that with the release of VS2010 Microsoft has now unified the designer frameworks for Visual Studio and Blend. Since we have built our SmartTag framework on top of this unified designer support, Smart Tags are only available when using NetAdvantage WPF controls in VS2010, Blend3 and Blend 4.

Here is an example of an Infragistics SmartTag on a button in the XamRibbon control:

xamColorPicker Control

In the NetAdvantage for WPF 2010 volume 2 release, we have added a new and exciting control to our already vast collection of controls. The new xamColorPicker™ control is one of the Editors controls and provides you with an interactive interface that allows you to select colors from a professionally designed palette or your own custom palettes.

xamContextMenu Control

The xamContextMenu™ control allows you to create context menus for your Microsoft® WPF™ applications. Since the xamContextMenu control and the xamMenu control both share a common base class (xamMenuBase), you can leverage many of the same practices across both controls.

Just like the xamMenu control, the xamContextMenu control displays a list of items that represent application-specific commands or tasks. Typically, clicking a menu item opens a submenu or executes application logic.

Some of the important features for this control are listed below.

Related Topics

Adding xamContextMenu to Your Application

Using xamContextMenu

xamDialogWindow Control

The xamDialogWindow™ for NetAdvantage WPF is a new and exciting control replicates the functionality of a traditional, standard Windows Forms dialog window and allows you to easily pop up both modal and non-modal dialog windows within your WPF based applications.

The following is a list of key features of the xamDialogWindow control:

 

Whats new -- xamDialogWindow control

Related Topics

About xamDialogWindow

Using xamDialogWindow

xamMenu Control

The xamMenu™ control displays a list of items that represent application-specific commands or tasks. Typically, clicking an item on a menu opens a submenu or executes application logic.

Some of the important features for this control are listed below.

Related Topics

Adding xamMenu to Your Application

Using xamMenu

xamSlider Control

The xamSlider™ family of controls allows your end users to specify a value or range of values by sliding a thumb in a xamSlider control. The xamSlider family of controls consists of four types of sliders that can be categorized according to its data type and/or functionality. The one you use in your application will depend on the functionality you want to implement.

Related Topics

Getting Started with xamSlider

Using xamSlider

xamSpellChecker Control

This release of NetAdvantage WPF contains a xamSpellChecker™ control. This great new control allows your end users to easily perform spell checking operations within their applications, using any of the nine dictionaries that are included. The following are some of the key features of the xamSpellChecker control:

 

whats new

Related Topics

 

About xamSpellChecker

Adding xamSpellChecker to Your Page

Using xamSpellChecker

xamTagCloud Control

The xamTagCloud™ control is a new and exciting controls contained in this release of the NetAdvantage WPF product. This new control allows you to choose keywords or phrases and assign a weight to them based on their frequency of occurrence, importance, or any other algorithm you want, and the xamTagCloud control will display them.

Tags that have a heavier weight stand out with a bold font size greater than the other tags. Tags with a lighter weight have a smaller font size. Your end users can identify the most prevalent tags with just a quick glance at the xamTagCloud control.

The following is a list of key features of the xamTagCloud control:

Whats new - xamTagCloud

Related Topics

 

About xamTagCloud

Using xamTagCloud

Scenic Ribbon Theme for xamRibbon

Infragistics NetAdvantage WPF 10.2 includes a new theme for the XamRibbon control called ‘Scenic’. When this new theme is selected, the UI of the XamRibbon changes to the ‘Scenic Ribbon’ style used by MS Paint and MS Wordpad.

Here is an example of the theme:

How to set the theme on the xamRibbon:

In XAML:

<Window
        ...
        xmlns:igRibbon="http://infragistics.com/Ribbon"
        ...
>
...
<Grid>
        <igRibbon:XamRibbon x:Name="XamRibbon1" Theme="Scenic">
        <!--TODO: Add Tabs here-->
        </igRibbon:XamRibbon>
</Grid>
...