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

The Actipro Blog

Tag Cloud

  • blog
  • docking
  • editors
  • intelliprompt
  • micro charts
  • navigation
  • propertygrid
  • ribbon
  • shared library
  • silverlight
  • syntaxeditor
  • themes
  • views
  • web site
  • winforms
  • winrt
  • wpf

Latest Twitter News

May 14, 2012 at 2:50 PM
IntelliPrompt code snippet features have been added to our VS-like code editor control for #WPF and #Silverlight. http://t.co/1IchOJrr

May 10, 2012 at 9:40 PM
Our new Micro Charts control products for #WPF and #Silverlight are out now. Come build some dashboards with them! http://t.co/EEERvff0

May 7, 2012 at 6:47 AM
Today we look at bar charts, for our upcoming #WPF, #Silverlight, and #WinRT Micro Charts product. http://t.co/gxHuPS6B

May 4, 2012 at 6:25 AM
See a gallery of micro area charts in our upcoming release for #WPF, #Silverlight, and #WinRT. http://t.co/qDXGwW8B

May 3, 2012 at 6:32 AM
See a variety of line charts that are easy to make with our upcoming #WPF, #Silverlight, #WinRT Micro Charts product. http://t.co/mbkX6tJd

Twitter Follow us on Twitter

Month List

  • 2012
    • May (9)
    • April (6)
    • March (11)
    • February (11)
    • 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 (321)
  • RSS feed for Blog SummaryBlog Summary (15)
  • RSS feed for GeneralGeneral (43)
  • RSS feed for In developmentIn development (164)
  • RSS feed for New featuresNew features (155)
  • RSS feed for New productNew product (38)
  • RSS feed for PromotionPromotion (2)
  • RSS feed for SilverlightSilverlight (90)
  • RSS feed for Tips and tricksTips and tricks (4)
  • RSS feed for Visual Studio 2008Visual Studio 2008 (2)
  • RSS feed for Windows FormsWindows Forms (22)
  • RSS feed for Windows VistaWindows Vista (10)
  • RSS feed for WinRTWinRT (9)
  • RSS feed for WPFWPF (257)
  • 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.

SyntaxEditor .NET Languages Add-on - Anonymous Types

December 7, 2011 at 5:28 AM
by Bill Henning (Actipro)

PostBannerSyntaxEditorDevNotes

In the WPF Studio 2011.2 build that was just released, we added resolver and IntelliPrompt support for anonymous types.  Now the add-on supports those features for extension methods, lambdas, and anonymous types.  All of those things are the building blocks for future LINQ IntelliPrompt!

Anonymous Type IntelliPrompt Examples

Let's see some examples of automated IntelliPrompt for anonymous types.

AnonymousTypes1

In this screenshot, we have implicitly declared a variable anon as an anonymous type.  The anonymous type's properties are initialized using a variable, and a couple assignment.  Hovering over anon to display quick info reveals anon as an anonymous type. 

AnonymousTypes2

Now we show a completion list containing the members of the variable anon.  The three properties declared in the anonymous type's creation expression appear in the list.  You can see it correctly assigned property names and their types.

AnonymousTypes3

Since the allNumbers property was generated from an allNumbers variable, which is a List<int>, automated IntelliPrompt recognizes that anon.allNumbers is also a List<int> and shows appropriately.  In this screenshot, parameter info is displayed for the List<int>.Add method.

AnonymousTypes4

In the last screenshot, we again display the anon members and see that the Key property is a string type since it was initialized with a string value.

Summary

The new anonymous type IntelliPrompt features are available now for both C# and VB in the WPF .NET Languages Add-on and will be included in the next Silverlight Studio build as well.

TaskDownload TaskLiveDemo TaskBuyNow

Tags: wpf, syntaxeditor, intelliprompt
Filed under: Actipro, New features, WPF
Submit to DotNetKicks...
Permalink | Comments (5)

Related posts

SyntaxEditor .NET Languages Add-on's IntelliPrompt improvements  We just released build 276 of SyntaxEditor and its add-ons.  This build has more genera...SyntaxEditor .NET Languages Add-on for WPF Progress - Part 2 Today I’d like to post a status update on the progress of the SyntaxEditor .NET Languages Add-on...SyntaxEditor .NET Languages Add-on Adds Generic Type IntelliPromptThe latest build for SyntaxEditor's .NET Languages Add-on now includes complete generic type Intelli...

Comments

December 14, 2011 at 10:12  

Jesper

Will you really continue the tradition from the Windows Forms .NET Languages addon of not listing the shape of the anonymous type in the relevant tooltips? I understand space concerns and so on, but just saying "<anonymous type>" seems like saying "dunno".

Jesper Sweden

December 14, 2011 at 10:23  

Bill Henning (Actipro)

Hi Jesper,

That is something we have on our TODO list to look into.  I think we have enough information in general to display that info but it would require a decent amount of additional work, so we didn't add it in the first release on anonymous types.  I believe the tricky part in determining what to display would come when there are multiple anonymous types (perhaps via nesting) that are defined with the same property names/types since in that case they should share the same 'a sort of indicator in the quick info.

Bill Henning (Actipro) United States

December 14, 2011 at 11:05  

Jesper

So you'll be getting to it. That's fair enough.

Jesper Sweden

January 4, 2012 at 06:59  

trackback

Actipro Blog 2011 Q4 Posting Summary

Actipro Blog 2011 Q4 Posting Summary

The Actipro Blog - WPF, Silverlight, and WinForms Development

March 31, 2012 at 22:04  

pingback

Pingback from mywebtips.net

Actipro Blog 2012 Q1 Posting Summary | The personal site of matthew parsa.

mywebtips.net

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