Shell |
The ShellFilePreview type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginInit | Signals the object that initialization is starting. | |
| Clear | Clears the preview | |
| Dispose |
Disposal method for the object that also cleans up resources that are used.
(Overrides ControlDispose(Boolean)) | |
| EndInit | Signals the object that initialization is complete. | |
| FolderChanged | Called by ShellControlConnector when the current folder has changed. | |
| FullRefresh | Forces the reload of the current file. | |
| GetDisplayRect | Gets display rectangle. | |
| GetSynchronizationContext | PreviewHost must provide its SynchronizationContext to be used by async events. | |
| GetWindowHandle | Gets window handle. | |
| GoUp | Not supported. | |
| OnAfterPreviewLoaded | Calls the AfterPreviewLoaded event. | |
| OnCommonPreviewHandlerLoaded | Controls implementing this interface must implement this eventhandler, which is called after the preview has been loaded. | |
| OnCreateControl | Raises the CreateControl method. (Overrides ControlOnCreateControl) | |
| OnEnabledChanged |
While disabled the control only stored the current filename.
On enabling a FullRefresh is triggered.
(Overrides ControlOnEnabledChanged(EventArgs)) | |
| OnHandleDestroyed |
Raises the HandleDestroyed event.
(Overrides ControlOnHandleDestroyed(EventArgs)) | |
| OnLoadPreview | Calls the LoadPreview event. | |
| OnPaint |
Paints the error message text on the ShellFilePreview control.
(Overrides ControlOnPaint(PaintEventArgs)) | |
| OnResize |
Passes the resize event to the current PreviewHandler
(Overrides ControlOnResize(EventArgs)) | |
| Open | Opens the path that is passed with the matching preview handler. | |
| Refresh(RefreshLevel) | Refreshes the control. | |
| Refresh(RefreshLevel, ItemIdList) | Refreshes the control. | |
| SelectedFileChange | Called by ShellControlConnector when the selected file has changed. | |
| SmartRefresh | Forces the reload of the current file. There is no difference compared to FullRefresh. |
| Name | Description | |
|---|---|---|
| GetSelfAndDescendants |
Returns a flattened collection of a control and all of its descendant controls.
(Defined by ExtensionMethods) | |
| HandleNeeded | A Control extension method that ensures that the handle for a control is created. (Defined by ExtensionMethods) | |
| ScaledPixels | An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with. (Defined by ExtensionMethods) | |
| ScaleFont | A Control extension method that scales font according to the passed factor. (Defined by ExtensionMethods) |