ShellFilePreview Class |
Namespace: Jam.Shell
The ShellFilePreview type exposes the following members.
Name | Description | |
---|---|---|
![]() | ShellFilePreview |
Initialialises a new instance of the ShellFilePreview class.
|
Name | Description | |
---|---|---|
![]() | AutomaticRefresh |
Controls whether the component automatically reloads the preview when the file is changed. "
|
![]() | DisplayMsg | Gets or sets a message that is displayed in the component if no preview is currently being displayed. |
![]() | IsInitialized |
Indicates whether the component is initialized.
|
![]() ![]() | ItemIdList |
Gets or sets the absolute ItemIdList that is previewed.
|
![]() | NoPreviewAvailableMessage | Gets or sets a message to be displayed if the item to be previewed is not supported. |
![]() | Path |
Gets or sets the path of the file that is displayed.
|
![]() | PreviewNotPossibleMessage | Gets or sets a message to be displayed if loading the preview failed. |
![]() | SelectFileMessage | Gets or sets a message to be displayed when no item is active. |
![]() | ShellControlConnector |
ShellControlConnector for this class. Set this property to the same ShellControlConnector instance of a ShellListView, ShellTreeView or ShellSystemList
to keep the ShellFilePreview in sync with these components. It will then always preview the selected file.
|
![]() | Version |
The current version of the ShellBrowser.
|
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 | |
---|---|---|
![]() | AfterPreviewLoaded | Event that occurs after the preview has been loaded. |
![]() | Initialized |
Occurs when initialization of the component is completed.
|
![]() ![]() | LoadPreview |
Event is thrown when a file is previewed. It can be implemented to set a custom preview control.
|
Name | Description | |
---|---|---|
![]() ![]() | WebPreviewHandler | The GUID of the WebPreviewHandler class. |
Name | Description | |
---|---|---|
![]() | 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.) |