Anatomy of the Windows 7 taskbar – TabbedThumbnail (Part 1) - Rudi Grobler
Wednesday, October 14, 2009 2:27 PM rudi

Anatomy of the Windows 7 taskbar – TabbedThumbnail (Part 1)

One of the “features” of the new taskbar that excites me is the TabbedThumbnail interface! This allows me to quickly see which applications are open and what their status is! From the screen capture above you can easily see that I have my favourite google group (The WPF Disciples) open and also my own website (Shameless plug). Even these buttons are customizable… and it’s VERY easy to do!!!

To create a new TabbedThumbnail

preview = new TabbedThumbnail(this, this, VisualTreeHelper.GetOffset(this));
preview.Tooltip = "This is a awesome new tooltip";
preview.Title = "Customer XYZ";
preview.DisplayFrameAroundBitmap = true;

And to use it

TaskbarManager.Instance.TabbedThumbnail.AddThumbnailPreview(preview);

Although I am using the TabbedThumbnail at its most basic form here, it’s got loads of options, here are some examples

  • TabbedThumbnailClosed - The event that occurs when a tab is closed on the taskbar thumbnail preview.
  • TabbedThumbnailMaximized - The event that occurs when a tab is maximized via the taskbar thumbnail preview (context menu).
  • TabbedThumbnailMinimized - The event that occurs when a tab is minimized via the taskbar thumbnail preview (context menu).
  • TabbedThumbnailActivated - The event that occurs when a tab is activated (clicked) on the taskbar thumbnail preview.
  • TabbedThumbnailBitmapRequested - The event that occurs when a thumbnail or peek bitmap is requested by the user.

If you have content that constantly changes (Think media player), you can also call InvalidatePreview!

And that’s it for part 1, in part 2 we will cover custom peek areas and multi-tab interface (Like IE8)

Related Posts – Anatomy of the Windows 7 taskbar series

Comments

# Anatomy of the Windows 7 taskbar ??? TabbedThumbnail (Part 1) - Rudi Grobler

Pingback from  Anatomy of the Windows 7 taskbar ??? TabbedThumbnail (Part 1) - Rudi Grobler

# Make your WPF buttons color hot-track!

Wednesday, October 14, 2009 2:31 PM by Rudi Grobler

One of the cool new features of the Windows 7 taskbar is that all running applications gives you this

# Anatomy of the Windows 7 taskbar ??? Overlays - Rudi Grobler

Wednesday, October 14, 2009 2:32 PM by Anatomy of the Windows 7 taskbar ??? Overlays - Rudi Grobler

Pingback from  Anatomy of the Windows 7 taskbar ??? Overlays - Rudi Grobler

# Anatomy of the Windows 7 taskbar - ThumbnailToolbarButton - Rudi Grobler

Pingback from  Anatomy of the Windows 7 taskbar - ThumbnailToolbarButton - Rudi Grobler

# Anatomy of the Windows 7 taskbar - TabbedThumbnail (Part 1)

Wednesday, October 14, 2009 2:34 PM by DotNetKicks.com

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# Dew Drop – October 14, 2009 | Alvin Ashcraft's Morning Dew

Wednesday, October 14, 2009 3:18 PM by Dew Drop – October 14, 2009 | Alvin Ashcraft's Morning Dew

Pingback from  Dew Drop – October 14, 2009 | Alvin Ashcraft's Morning Dew

# Anatomy of the Windows 7 taskbar – TabbedThumbnail (Part 2)

Wednesday, November 04, 2009 10:05 AM by Rudi Grobler

In my “quest” to create thumbnails similar to the once used in IE8, I hit a couple of snags! In part

# Anatomy of the Windows 7 taskbar - Progress

Sunday, November 22, 2009 2:17 PM by Rudi Grobler

Ever noticed the subtle progress overlay while downloading something from the internet? With Windows

# Anatomy of the Windows 7 taskbar – TabbedThumbnail (Part 2)

Tuesday, January 05, 2010 4:21 PM by Rudi Grobler

SyntaxHighlighter.all() In my “quest” to create thumbnails similar to the once used in IE8, I hit a couple

# Anatomy of the Windows 7 taskbar – TabbedThumbnail (Part 2)

Wednesday, January 13, 2010 10:48 AM by Rudi Grobler

In my “quest” to create thumbnails similar to the once used in IE8, I hit a couple of snags! In part