• 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 - Mouse wheel zooming - Part 2

January 5, 2009 at 1:32 AM
by Bill Henning (Actipro)

In the blog, we recently discussed a new feature added to SyntaxEditor for WPF:  mouse wheel zooming.  Following the initial post on the feature we’ve done a few more enhancements.

Animated zooming effects

We added the ability for you to specify a Duration over which a zooming animation takes place.  So as you rotate your mouse wheel (while holding Ctrl) to change the zoom level, each zoom level change will smoothly animate over this duration. 

You can optionally set this Duration to 0ms to prevent animation and instead, jump directly to zoom levels.  However the animation is a very classy effect.  We’re sure you’ll love it.

The animation also takes place, even if you zoom the control via an external control, such as a Slider that may be in a StatusBar.

Zooming affects scrollable area only

In the previous post’s screenshot, you’ll notice that the entire control was scaled up, including scrollbars.  Based on feedback we received, we altered our code to only zoom the scrollable area of the editor. 

Zooming

SyntaxEditor zoomed in at 300% using the mouse wheel… note the zoom level adornment is in the process of fading out and the scrollbars remain at 100% zoom level 

This means that the text area and any margins that scroll will be scaled when zooming.  The scrollbars, buttons next to the scrollbars, and fixed margins (more on margins in a future post) will remain a constant size and will not scale.

Imagine the difference this feature will make when using the zoom feature while doing live code-oriented presentations, etc.

Zoom level indicator templates

As you can see in the screenshot above, we added a magnifying lens icon in the default zoom level indicator template to spruce things up.

Not only that, we also made the indicator DataTemplate-based, so you can create your own custom zoom level indicators.

Zooming2

Our Zooming Quickstart, showing a custom zoom level indicator DataTemplate in action

Thanks to everyone who provided feedback, your comments made a difference!

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

Related posts

SyntaxEditor for WPF - Mouse wheel zoomingOne new feature that has been requested by our customers is support for mouse wheel zooming.  B...Actipro SyntaxEditor for WPF and Editors for WPF are released SyntaxEditor for WPF with a custom theme loaded Yesterday evening we published WP...Themes for WPF Part 1 - Native WPF Control Themes In prior blog posts, we’ve detailed some of the great new features coming to the WPF SyntaxEditor ...

Comments

January 6, 2009 at 13:26  

Funny, I was trying to do this in Visual Studio the other day by holding down the ctrl key and mouse wheeling.  Needless to say, it didn't work.  Nice feature.

KB

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