• 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 for WPF - Completion list description tips

February 10, 2009 at 6:26 PM
by Bill Henning (Actipro)

This week has unofficially become “completion list feature” blog post week! :)  Make sure you check out our previous two posts, on completion list filtering and transparency.

Let’s continue the fun with some screens of description tips in action.  Please note that the screenshots below have been scaled down to fit within the blog.

Description tips in action

DescriptionTip1

The completion list showing a description tip for a C# field 

In the screenshot above, the completion list is displayed and upon the highlighting of an item in the list, a description tip appears.  In this case, it’s a description tip for an integer field similar to our our .NET Languages Add-on shows description tips.

DescriptionTip2

The completion list showing a description tip for the Object.Equals method 

Here we show a description tip for the base Object’s Equals method.  Note how images and multiple font characteristics can be applied in the description tips to render some very readable content.

Content on-demand

 

In SyntaxEditor for WinForms, each completion list item could be assigned a description that was used to build the content for the description tip.  In our next generation design for the WPF version, we’ve made it so you assign a content provider to each item instead.  The content provider is called on-demand to retrieve the content to display.

This means you use less overall memory for completion lists since you don’t need to build descriptions up-front.  However we have a number of content provider implementations pre-built so you still can build and assign them up-front if you wish.

In advanced languages though, like our .NET Languages Add-on when later implemented for the WPF version, we’ll want to have a single content provider that we assign to all member items, maybe another for type items, etc.  The one for member items would be used for items such as in the screenshots above.  It would have access to the core member information being represented by the related item and would look up XML documentation on-demand to construct richly formatted description tips like in the screens.

Multiple types of content providers

There are three built-in content providers that ship with SyntaxEditor for WPF. 

The first lets you simply pass back a WPF UIElement that you’d like displayed in the description tip.  This allows you to place any WPF content in the description tip.

The second accepts a string and renders the text content as plain text within a TextBlock that is displayed in the description tip.

The third, and this is the “fun” one, is one that also accepts a string of HTML subset markup and transforms the markup to UIElements that render like in the screens above.  Font properties can be set over spans and images and hyperlinks are supported.

Extensibility in mind

Since the content provider (and most of the rest of our next generation design) is implemented as interfaces, you can create your own customized content providers to return whatever you need.

As you can see, the model for building this rich UI is very open and extensible, and there’s plenty more to come.

Tags: wpf, syntaxeditor, intelliprompt
Filed under: Actipro, In development, WPF
Submit to DotNetKicks...
Permalink | Comments (0)

Related posts

SyntaxEditor for WPF - Advanced completion list filteringWe’re currently working on implementing completion lists in SyntaxEditor for WPF.  Comple...SyntaxEditor for WPF - Completion list text insertionWe’re sad to be ending SyntaxEditor “completion list” blog post week today. :)&nbs...SyntaxEditor for WPF – Auto-showing a completion list when typing a new wordOne feature that has been requested from several customers is the ability to show a completion list ...
Comments are closed
Copyright © 1999-2012 Actipro Software LLC. All rights reserved.
Home Actipro Software | Products | Download | Contact Us