ShellThumbnail Class |
Namespace: Jam.Shell.WPF.Controls
The ShellThumbnail type exposes the following members.
Name | Description | |
---|---|---|
![]() | ShellThumbnail | Default constructor. |
Name | Description | |
---|---|---|
![]() | ImageSize | Define a SystemImageListSize if you don't want to automatically fill the available space. |
![]() | InitialThumbnailSize | Defines a thumbnail size, that is used if the current component width is not set yet. |
![]() | Location | The location of the folder to be displayed. This is a dependency property. |
![]() | Overlay | Holds the overlay as ImageSource. It is only displayed if Overlays is set. This is a dependency property. |
![]() | Overlays | Gets or sets a value indicating whether overlays (like the arrow for .lnk files) should be displayed in the thumbnail or icon. Default is true. |
![]() | Path | Gets or sets the full pathname of the file/shell item to be displayed. |
![]() | ShellControlConnector | Gets or sets a ShellControlConnector. |
![]() | SpecialFolder | Gets or sets the special folder to be displayed. |
![]() | Stretch | Gets or sets the Stretch value for the thumbnail or icon. This is a dependency property. |
![]() | StretchDirection | Gets or sets the stretch direction. See StretchDirection |
![]() | Thumbnail | Holds the thumbnail as ImageSource. |
![]() | UseContentType | Gets or sets the content type of this instance. |
![]() | Version |
The current version of ShellBrowser Components WPF.
|
Name | Description | |
---|---|---|
![]() | BeginUpdate | Begins an update. During an update the thumbnail will not be re-loaded in a different size. |
![]() | EndUpdate | Ends an update. The last EndUpdate will refresh the thumbnail. |
![]() | FolderChanged | Displays the thumbnail of the passed folder according to the settings. |
![]() | IsUpdating | Query if this object is currently updating, i.e. if a BeginUpdate has been called. |
![]() | OnApplyTemplate |
Saves the thumbnail and overlay image to be able to make adjustments.
(Overrides FrameworkElementOnApplyTemplate.) |
![]() | OnPropertyChanged |
Invoked whenever the effective value of any dependency property on this
FrameworkElement has been updated. The specific dependency
property that changed is reported in the arguments parameter. Overrides
OnPropertyChanged(DependencyPropertyChangedEventArgs).
(Overrides FrameworkElementOnPropertyChanged(DependencyPropertyChangedEventArgs).) |
![]() | OnRenderSizeChanged | Executes the render size changed action. (Overrides FrameworkElementOnRenderSizeChanged(SizeChangedInfo).) |
![]() | OnThumnbailLoaded |
Calls the ThumbnailLoaded event
|
![]() | Refresh | Reloads the thumbnail. |
![]() | SelectedFileChange | Displays the thumbnail of the passed folder according to the settings. |
Name | Description | |
---|---|---|
![]() | ThumbnailLoaded |
Event is thrown when the control has finished loading the image.
|
Name | Description | |
---|---|---|
![]() ![]() | LocationProperty |
The DependencyProperty for Location.
|
![]() ![]() | OverlayProperty |
DependencyProperty for Overlay.
|
![]() ![]() | StretchDirectionProperty |
DependencyProperty for StretchDirection.
|
![]() ![]() | StretchProperty |
DependencyProperty for Stretch. This enables animation, styling,
binding, etc...
|
![]() ![]() | ThumbnailProperty |
DependencyProperty for Thumbnail.
|
<ListView Name="listView1" ItemsSource="{Binding CurrentDirectory}"> <ListView.Resources> <DataTemplate DataType="{x:Type shellbrowser:ItemIdList}"> <StackPanel Orientation="Horizontal"> <shlbr:ShellThumbnail ImageSize="SmallIcons" Location="{Binding}"/> <TextBlock Padding="10, 0, 0, 0" Text="{Binding Path=Caption}"/> </StackPanel> </DataTemplate> </ListView.Resources> <ListView.ContextMenu> <!-- Shows the shell context menu for the ItemIdLists contained in SelectedItemIdLists - a JamShellItemCollection held in the viewmodel and updated to represent the ListView's SelectedItems property. --> <shlbr:ShellContextMenu ShellItems="{Binding SelectedItemIdLists}"/> </ListView.ContextMenu> </ListView>
<shlbr:ShellThumbnail UseContentType="PreferThumbnail" SpecialFolder="{x:Static shellbrowser:ShellFolder.Downloads}"/>