LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
EnableBroswerWatcher Property
See Also 
Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : EnableBroswerWatcher Property



Enable system watcher for the paths that specified when call RasterThumbnailBrowser.LoadThumbnails method

Syntax

Visual Basic (Declaration) 
Public Property EnableBroswerWatcher As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterThumbnailBrowser
Dim value As Boolean
 
instance.EnableBroswerWatcher = value
 
value = instance.EnableBroswerWatcher
C# 
public bool EnableBroswerWatcher {get; set;}
C++/CLI 
public:
property bool EnableBroswerWatcher {
   bool get();
   void set (    bool value);
}

Property Value

true: enable system watcher, false: disable system watcher

Example

For an example, refer to RasterThumbnailBrowser.

Remarks

Enable this property will enable the system watcher and for any added/changed/deleted file in the specified path, then a WatcherChanged event will be raised, for renaming current file in the specified path, then then a WatcherRenamed event will be raised

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also