Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Clipz - A Friendly Introduction to the Windows 7 Taskbar Features

, 17 Dec 2009
An overview of the Windows 7 taskbar features, and how to use then in your own applications.
Clipz.zip
Clipz
bin
Debug
Clipz.csproj.user
CopyIcon.ico
DeleteIcon.ico
Model
Native Methods
Properties
Settings.settings
Resources
Audio.png
Clipboard.png
NextIcon.ico
PreviousIcon.ico
Utility
Core
AppRestartRecovery
Dialogs
Common
TaskDialogs
Interop
AppRestartRecovery
Dialogs
NetworkList
PowerManagement
TaskDialogs
NetworkList
PowerManagement
Properties
PropertySystem
SafeHandles
Libraries
StructureMap.dll
Shell
Common
CommonFileDialogs
Controls
Design
ShellObjects.cd
ShellThumbnailClassDiagram.cd
DesktopWindowManager
ExplorerBrowser
ExplorerBrowserDiagram.cd
Interop
Common
Dialogs
ExplorerBrowser
KnownFolders
PropertySystem
StockIcons
Taskbar
KnownFolders
Properties
PropertySystem
StockIcons
Taskbar
// Copyright (c) Microsoft Corporation.  All rights reserved.


namespace Microsoft.WindowsAPICodePack.Shell
{
    /// <summary>
    /// Defines the read-only properties for default shell icon sizes.
    /// </summary>
    public static class DefaultIconSize
    {
        /// <summary>
        /// The small size property for a 16x16 pixel Shell Icon.
        /// </summary>
        public static readonly System.Windows.Size Small = new System.Windows.Size(16, 16);

        /// <summary>
        /// The medium size property for a 32x32 pixel Shell Icon.
        /// </summary>
        public static readonly System.Windows.Size Medium = new System.Windows.Size(32, 32);

        /// <summary>
        /// The large size property for a 48x48 pixel Shell Icon.
        /// </summary>
        public static readonly System.Windows.Size Large = new System.Windows.Size(48, 48);

        /// <summary>
        /// The extra-large size property for a 256x256 pixel Shell Icon.
        /// </summary>
        public static readonly System.Windows.Size ExtraLarge = new System.Windows.Size(256, 256);

        /// <summary>
        /// The maximum size for a Shell Icon, 256x256 pixels.
        /// </summary>
        public static readonly System.Windows.Size Maximum = new System.Windows.Size(256, 256);

    }

    /// <summary>
    /// Defines the read-only properties for default shell thumbnail sizes.
    /// </summary>
    public static class DefaultThumbnailSize
    {
        /// <summary>
        /// Gets the small size property for a 32x32 pixel Shell Thumbnail.
        /// </summary>
        public static readonly System.Windows.Size Small = new System.Windows.Size(32, 32);

        /// <summary>
        /// Gets the medium size property for a 96x96 pixel Shell Thumbnail.
        /// </summary>
        public static readonly System.Windows.Size Medium = new System.Windows.Size(96, 96);

        /// <summary>
        /// Gets the large size property for a 256x256 pixel Shell Thumbnail.
        /// </summary>
        public static readonly System.Windows.Size Large = new System.Windows.Size(256, 256);

        /// <summary>
        /// Gets the extra-large size property for a 1024x1024 pixel Shell Thumbnail.
        /// </summary>
        public static readonly System.Windows.Size ExtraLarge = new System.Windows.Size(1024, 1024);

        /// <summary>
        /// Maximum size for the Shell Thumbnail, 1024x1024 pixels.
        /// </summary>
        public static readonly System.Windows.Size Maximum = new System.Windows.Size(1024, 1024);
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

TylerBrinks
Web Developer PageLabs
United States United States
I'm the founder of PageLabs, a web-based performance and SEO optimization site.

Give your site a boost in performance, even take a free speed test!
 
http://www.pagelabs.com
Follow on   Twitter

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 17 Dec 2009
Article Copyright 2009 by TylerBrinks
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid