Click or drag to resize

PreviewHandler Class

Defines a Shell Preview Handler, implementing IPreviewHandler.
Inheritance Hierarchy
SystemObject
  callback.ShellBoost.Core.HandlersHandler
    callback.ShellBoost.Core.HandlersPreviewHandler

Namespace:  callback.ShellBoost.Core.Handlers
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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