Click or drag to resize

PreviewHandler Class

Defines a Shell Preview Handler, implementing IPreviewHandler.
Inheritance Hierarchy

Namespace:  ShellBoost.Core.Handlers
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public abstract class PreviewHandler : Handler

The PreviewHandler type exposes the following members.

Constructors
  NameDescription
Protected methodPreviewHandler
Initializes a new instance of the PreviewHandler class
Top
Properties
  NameDescription
Protected propertyEnterHelpMode
Gets or sets a value indicating whether context-sensitive help mode should be entered during an in-place activation session.
Public propertyFilePath
Gets the file path. Only valid if IInitializeWithFile was called.
(Inherited from Handler.)
Protected propertyHandle
Gets or sets the window handle of the previewer. By default its value is Zero.
Public propertyItem
Gets the item. Only valid if IInitializeWithItem was called.
(Inherited from Handler.)
Public propertyMode
Indicate the access mode for the Item, FilePath or Stream.
(Inherited from Handler.)
Protected propertyNativeStream
Gets the native stream. Only valid if IInitializeWithStream was called.
(Inherited from Handler.)
Protected propertyParentBounds
Gets the parent area bounds.
Protected propertyParentHandle
Gets the parent window handle.
Protected propertySite
Gets the site object in the container.
(Inherited from Handler.)
Public propertyStream
Gets the stream. Only valid if IInitializeWithStream was called.
(Inherited from Handler.)
Top
Methods
  NameDescription
Protected methodDoPreview
Directs the preview handler to load data from the source specified in an earlier initialization call, and to begin rendering to the previewer window.
Public methodRegisterInProcess
Registers this handler in the registry as In-Process.
(Inherited from Handler.)
Public methodRegisterOutOfProcess
Registers this handler in the registry as Out-Of-Process.
(Inherited from Handler.)
Protected methodSetBackgroundColor
Sets the background color of the preview handler.
Protected methodSetFocus
Directs the preview handler to set focus to itself.
Protected methodSetFont
Sets the font attributes to be used for text within the preview handler.
Protected methodSetParentBounds
Directs the preview handler to change the area within the parent window handle that it draws into.
Protected methodSetParentWindow
Sets the parent window of the previewer window, as well as the area within the parent to be used for the previewer window.
Protected methodSetTextColor
Sets the color of the text within the preview handler.
Protected methodTrace
Sends a text to trace.
(Inherited from Handler.)
Protected methodTranslateAcceleratorW
Directs the preview handler to handle a keystroke passed up from the message pump of the process in which the preview handler is running.
Protected methodUnload
Directs the preview handler to cease rendering a preview and to release all resources that have been allocated based on the item passed in during the initialization.
Public methodUnregister
Unregisters this handler from the registry.
(Inherited from Handler.)
Top
See Also