ThumbnailImage Class |
Namespace: Jam.Shell
The ThumbnailImage type exposes the following members.
Name | Description | |
---|---|---|
ThumbnailImage |
Initializes a new instance of the ThumbnailImage class.
|
Name | Description | |
---|---|---|
Enabled |
Indicates whether the control is enabled.
| |
IconsAsThumnbnails |
If set to true (default) the component uses icons if the shown file system element does not supply a thumbnail.
Set false if only thumbnails are to be used.
| |
Image |
Readonly property, which contains the currently shown thumbnail image.
| |
ImageHeight | Gets the height of the image. | |
ImageWidth |
Returns the width that is used for the image.
| |
IsInitialized |
Gets a value indicating whether the component is initialized.
| |
ItemIdList |
Gets or sets the absolute ItemIdList that should be/is displayed.
| |
Path |
The Path property contains the full path of the file or folder which thumbnail image is currently displayed. Assign a value to this property to display a different thumbnail image.
| |
ShellControlConnector |
Use this property to connect this component to a ShellControlConnector. All shell controls connected to the same ShellControlConnector will automatically synchronize the information they display. That means if a user selects a file in a ShellListView, the ThumbnailImage will automatically display the thumbnail image of the selected object.
| |
ShowErrorMessages |
If set to true the ThumbnailImage component will show a MessageBox if an error occured,
otherwise the errors will only be logged to the Debug output.
| |
Version |
The current version of the ShellBrowser.
|
Name | Description | |
---|---|---|
BeginInit |
Signals the object that initialization is starting.
| |
ClearImage |
Clear the current Image.
| |
Dispose |
Remove reference to ShellControlConnector and implicitely remove this control from the list of known controls of the ShellControlConnector
(Overrides ControlDispose(Boolean).) | |
EndInit |
Signals the object that initialization is complete.
| |
FolderChanged |
Gets called if the active folder should change.
| |
FullRefresh |
Reloads the thumbnail image.
| |
GetThumbnailImage |
This method starts generating a thumbnail asynchronously
| |
GoUp |
Implements IShellControlIShellControl.GoUp.
| |
OnCreateControl | Raises the CreateControl method. (Overrides ControlOnCreateControl.) | |
OnHandleCreated |
Raises the HandleCreated event.
(Overrides ControlOnHandleCreated(EventArgs).) | |
OnPictureBoxClick |
Fire the OnClick event of the panel, when the same event gets fired for the PictureBox.
| |
OnPictureDoubleClick |
Fire the OnDoubleClick event of the panel, when the same event gets fired for the PictureBox.
| |
OnResize |
The Resize event must be overridden, because the PictureBox class has no Align property.
(Overrides PanelOnResize(EventArgs).) | |
OnThumnbailLoaded |
Calls the ThumbnailLoaded event
| |
Refresh(RefreshLevel) | This method indicates that the control should perform a refresh of its contents. | |
Refresh(RefreshLevel, ItemIdList) | This method indicates that the control should perform a refresh of its contents. | |
SelectedFileChange |
Gets called if the active file should change.
| |
SmartRefresh |
Implements IShellControlIShellControl.SmartRefresh.
Internally calls FullRefreshFullRefresh.
|
Name | Description | |
---|---|---|
Initialized |
Occurs when initialization of the component is completed.
| |
ThumbnailLoaded |
Event is thrown when the control has finished loading the image.
|
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.) |