public class ShellFilePreview : Control, IShellControl, IShellControlConnectorTarget, ISupportInitialize, ISupportInitializeNotification, ICommonPreviewHandlerHost
Public Class ShellFilePreview Inherits Control Implements IShellControl, IShellControlConnectorTarget, ISupportInitialize, ISupportInitializeNotification, ICommonPreviewHandlerHost
public ref class ShellFilePreview : public Control, IShellControl, IShellControlConnectorTarget, ISupportInitialize, ISupportInitializeNotification, ICommonPreviewHandlerHost
type ShellFilePreview = class inherit Control interface IShellControl interface IShellControlConnectorTarget interface ISupportInitialize interface ISupportInitializeNotification interface ICommonPreviewHandlerHost end
Thetype exposes the following members.
Controls whether the component automatically reloads the preview when the file is changed. "
Gets or sets a message that is displayed in the component if no preview is currently being displayed.
Indicates whether the component is initialized.
Gets or sets the absolute ItemIdList that is previewed.
Gets or sets a message to be displayed if the item to be previewed is not supported.
Gets or sets the path of the file that is displayed.
Gets or sets a message to be displayed if loading the preview failed.
Gets or sets a message to be displayed when no item is active.
The current version of the ShellBrowser.
Signals the object that initialization is starting.
Clears the preview
Disposal method for the object that also cleans up resources that are used.(Overrides ControlDispose(Boolean).)
Signals the object that initialization is complete.
Called by ShellControlConnector when the current folder has changed.
Forces the reload of the current file.
Gets display rectangle.
PreviewHost must provide its SynchronizationContext to be used by async events.
Gets window handle.
Calls the AfterPreviewLoaded event.
Controls implementing this interface must implement this eventhandler, which is called after the preview has been loaded.
While disabled the control only stored the current filename. On enabling a FullRefresh is triggered.(Overrides ControlOnEnabledChanged(EventArgs).)
Raises the HandleDestroyed event.(Overrides ControlOnHandleDestroyed(EventArgs).)
Calls the LoadPreview event.
Paints the error message text on the ShellFilePreview control.(Overrides ControlOnPaint(PaintEventArgs).)
Passes the resize event to the current PreviewHandler(Overrides ControlOnResize(EventArgs).)
Opens the path that is passed with the matching preview handler.
Refreshes the control.
Refreshes the control.
Called by ShellControlConnector when the selected file has changed.
Forces the reload of the current file. There is no difference compared to FullRefresh.
Event that occurs after the preview has been loaded.
Occurs when initialization of the component is completed.
Event is thrown when a file is previewed. It can be implemented to set a custom preview control.
A Control extension method that ensures that the handle for a control is created.(Defined by ExtensionMethods.)
An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with.(Defined by ExtensionMethods.)
A Control extension method that scales font according to the passed factor.(Defined by ExtensionMethods.)