browser – Owl's Blog on .NET development http://www.componentowl.com/blog Component Owl codes Better ListView control all night so you don't have to. Tue, 04 Sep 2018 13:10:05 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.8 Better Thumbnail Browser Component Released http://www.componentowl.com/blog/better-thumbnail-browser-component-released/ http://www.componentowl.com/blog/better-thumbnail-browser-component-released/#comments Sat, 01 Dec 2012 18:26:16 +0000 http://www.componentowl.com/blog/?p=823  

We have released a whole new WinForms component called Better Thumbnail Browser. This control is useful for anyone developing photo management software or any kind of image database:

Better Thumbnail Browser Overview

Better Thumbnail Browser Overview

The control is capable of loading image thumbnails on background and does all the dirty job of threading and synchronization for you.

My motivation to make such component as lead developer at ComponentOwl.com was to have something that can smoothly integrate in my photo management software.

Since we already have Better ListView component, which is quite mature (three major releases over two years of development), I decided to build upon it and finally make control for image thumbnails that is both extensible and powerful and have native look and feel.

Better Thumbnail Browser inherits most of its functionality from Better ListView (multi column sorting, custom paddings and spacings, multi-line text and groups to name a few). It adds image loading logic on top of it, which can handle various scenarios:

  • Load images from a folder, database or custom source automatically
  • Load thumbnails with arbitrary sizes on background while progressively displaying them
  • Handle zooming thumbnails on the fly
  • Loading thumbnail items in multiple passes (e.g. load meta-data, then low quality image, then high quality image)
  • Loading thumbnails in custom order
  • Loading visible thumbnails first, then all other (and do this even though the user is scrolling the view)
  • Manage updating individual thumbnails or their count on the fly
  • Support showing loading progress

The component is fully customizable and by default inherits native Windows theme. We tested it on Windows 8 with success:

Better Thumbnail Browser with Windows 8 Theme

Better Thumbnail Browser with Windows 8 Theme

 

Better Thumbnail Browser contains default implementation for loading thumbnail images from disk. If you want to gather all images from a given folder (say “c:\images”), display them in Better Thumbnail Browser and load them on background, the code is particularly simple:

thumbnailBrowser.Path = "c:\\images";

And that’s it!

Better Thumbnail Browser will be our third component which is used in end-user consumer-level software package. This ensures future development, improvements and support.

 

 

]]>
http://www.componentowl.com/blog/better-thumbnail-browser-component-released/feed/ 1
File Explorer with Better ListView http://www.componentowl.com/blog/file-explorer-with-better-listview/ http://www.componentowl.com/blog/file-explorer-with-better-listview/#respond Tue, 09 Aug 2011 16:04:31 +0000 http://www.componentowl.com/blog/?p=340 In release 2.0.2 we added a sample demonstrating how Better ListView can be used to construct folder tree and file browser to make a standalone file explorer:

File Explorer Sample

There are two controls derived from BetterListView. One for the navigation pane (folder tree on left side) and one for the file view (on the right side).

The FolderListView control allows browsing through virtual folders as well as folders on removable drives. We needed this control in our products because .NET does not provide any similar managed control (there is only FolderBrowserDialog, but we actually need a control).

You can use it for your purposes as well, it is available in Better ListView Samples source code.

Many features of Better ListView can be used to enhance file browsing, for example:

  • Drag and Drop – moving or copying files
  • Label Edit – renaming files
  • Thumbnails – display thumbnails of image files
  • Custom Tooltips – display extra information on each file item
  • Groups – organize files into groups (e.g. by size)
  • Check Boxes – select folders and sub-folders properly with three-state check boxes
  • Images – every file type could display different image (extracted icon)
  • Context Menus – do extra operations with files, like displaying file properties
  • Searching – doing keyboard search is very easy to search for some file
  • Sorting – sort files according to multiple properties (this is demonstrated in the sample)
  • Background Image – show that the user is located in special folder by ambient image on the background
]]>
http://www.componentowl.com/blog/file-explorer-with-better-listview/feed/ 0