[]
        
(Showing Draft Content)

C1.Win.C1Win7Pack.C1TaskbarButton

C1TaskbarButton Class

Represents a taskbar button of the application form.

Inheritance
C1TaskbarButton
Implements
Namespace: C1.Win.C1Win7Pack
Assembly: C1.Win.C1Win7Pack.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1TaskbarButton), "C1TaskbarButton.png")]
public class C1TaskbarButton : Component, IComponent, IDisposable

Constructors

Name Description
C1TaskbarButton()

Initializes a new instance of a C1TaskbarButton component.

C1TaskbarButton(IContainer)

Initializes a new instance of a C1TaskbarButton component.

C1TaskbarButton(Form)

Initializes a new instance of a C1TaskbarButton component.

Properties

Name Description
ContainerForm

Gets or sets the parent form whose button appears on the taskbar.

IsPlatformSupported

Indicates whether the C1TaskbarButton's capabilities are supported on the current platform.

JumpList

Represents a list of items and tasks displayed as a menu on a Windows 7 taskbar button.

OverlayAccessibilityText

Gets or sets a string that provides an alt text version of the information conveyed by the overlay, for accessibility purposes.

OverlayIcon

Gets or sets an icon to use as the overlay. This should be a small icon, measuring 16x16 pixels at 96 dpi.

ProcessAppID

Gets or sets the current process' explicit application user model ID.

ProgressIndicator

Adjusts the progress indicator hosted in a taskbar button of the owner form to show the specific percentage completed of the full operation.

RegistryProgID

Gets or sets the ProgID of the registered application.

Site

Gets or sets the ISite of the Component.

Tag

Gets or sets an object that contains additional data about the C1TaskbarButton.

Thumbnail

Adjusts the thumbnail image of a window in a taskbar button flyout.

WindowAppID

Gets or sets the application user model ID for an individual window.

Methods

Name Description
AddShortcutToStartMenu(string, string, string, string, string, string, int)

Creates a shortcut on the user's Start Menu.

CheckFileAssociations(params string[])

Checks whether the given file extensions are associated with current application.

Dispose(bool)

Clean up any resources being used.

FlashIfNotActive(int)

Flashes the window caption and taskbar button until the window comes to the foreground.

OnApplyingJumpListChanges(CancelEventArgs)

Raises the ApplyingJumpListChanges event.

OnJumpItemsRejected(JumpItemsRejectedEventArgs)

Raises the JumpItemsRejected event.

OnJumpItemsRemovedByUser(JumpItemsRemovedEventArgs)

Raises the JumpItemsRemovedByUser event.

OnThumbButtonClick(ThumbButtonEventArgs)

Raises the ThumbButtonClick event.

RegisterFileAssociations(bool, string, string, string, params string[])

Registers file associations for the current application.

RegisterFileAssociations(string, string, string, params string[])

Registers file associations for the current application.

RemoveShortcutFromStartMenu(string)

Removes the shortcut from the user's Start Menu.

ResetOverlayIcon()
ShortcutExistsInStartMenu(string)

Gets a value indicating if the shortcut is created on the user's Start Menu.

ShouldSerializeJumpList()
ShouldSerializeOverlayIcon()
ShouldSerializeProgressIndicator()
ShouldSerializeThumbnail()
UnregisterFileAssociations(bool, params string[])

Unregisters file associations for the application.

UnregisterFileAssociations(params string[])

Unregisters file associations for the application.

Events

Name Description
ApplyingJumpListChanges

Occurs before applying the pending Jump List changes.

JumpItemsRejected

Occurs when jump items are not successfully added to the Jump List by the Windows shell.

JumpItemsRemovedByUser

Occurs when jump items previously in the Jump List are removed from the list by the user.

ThumbButtonClick

Occurs when a thumbnail button item is clicked.