Click or drag to resize

ShellChangeNotifier Class

Use this component to get information about changes in the file system (copy, move or delete operations) and other changes relevant for shell operations. Different event types can be specified using the EventFilter property. Use the Directories or ItemIdList property to specify what folders should be tracked. You can implement events Change or ChangePIDL to receive and handle the notifications.
Inheritance Hierarchy

Namespace:  Jam.Shell.WPF.Controls
Assembly:  ShellBrowserWPF (in ShellBrowserWPF.dll) Version: 1.3.1
Syntax
public sealed class ShellChangeNotifier : DependencyObject, 
	IShellChangeNotifier, IDisposable

The ShellChangeNotifier type exposes the following members.

Constructors
  NameDescription
Public methodShellChangeNotifier
Initializes a new instance of the ShellChangeNotifier class.
Top
Properties
  NameDescription
Public propertyDirectories
The directories to receive change notifications for. Leave empty to receive change notifications for the whole file system. This is a dependency property.
Public propertyEnabled
Set to true to enable listening to change notifications. This is a dependency property.
Public propertyEventFilter
Allows to define which shell change events should be reported. This is a dependency property.
Public propertyItemIdList
Allows to set an ItemIdList that should be monitored.
Public propertyRecursive
Set to true, if change notifications for subfolders are desired as well. This is a dependency property.
Top
Methods
  NameDescription
Public methodClear
Removes all directories from the Directories property and so watches the entire file system again.
Public methodDispose
Remove reference to the m_MessageHandler and pass call to m_Notifier.
Public methodOnChange
Implementation for OnChange(NotificationEvents, String, String). Executes the Change event.
Public methodOnChangePIDL
Public methodRestart
Restarts the change notifier if it is already started
Public methodStatic memberSendChangeNotify(NotificationEvents, String)
Sends a shell change notification to the system that informs other processes about a achange.
Public methodStatic memberSendChangeNotify(NotificationEvents, String, String)
Sends a shell change notification to the system that informs other processes about a achange.
Top
Events
  NameDescription
Public eventChange
This event is fired when a change event was fired from the system for one of the monitored paths in the Directories property.
Public eventChangePIDL
This event is fired when a change event for the given ItemIdList list of the given paths in the Directories property occured.
Top
Fields
  NameDescription
Public fieldStatic memberDirectoriesProperty
Identifies the Directories dependency property.
Public fieldStatic memberEnabledProperty
Identifies the Enabled dependency property.
Public fieldStatic memberEventFilterProperty
Identifies the EventFilter dependency property.
Public fieldStatic memberRecursiveProperty
Identifies the Recursive dependency property.
Top
See Also