ShellBrowser .Net Edition
ShellControlConnector Class
NamespacesJam.ShellShellControlConnector
This component is able to synchronize several of the visual shell components ShellTreeView, ShellListView and ThumbnailImage. Just drop a ShellControlConnector component to this form and assign the ShellControlConnector property of all shell components to the ShellControlConnector component. You can refresh all connected shell controls by using the FullRefresh() method. If you want to use CheckBoxes in a ShellTreeView or ShellListView, that must be connected to a ShellControlConnector. The ShellControlConnector will synchronize the selected files and folder in the different shell controls.
Declaration Syntax
C#Visual BasicVisual C++
public class ShellControlConnector : Component
Public Class ShellControlConnector _
	Inherits Component
public ref class ShellControlConnector : public Component
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
ShellControlConnector()()()
The constructor for the ShellControlConnector class, it internally registers an EventHandler to its SelectionList change event.

CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
ConsiderRootedAtProperty
If this property is set to true the ShellControlConnector will take the RootedAt or RootedAtFileSystemFolder property of a connected ShellTreeView control into account. For example if RootedAt is set to "c:\" then the ShellControlConnector will filter out any folder change event that would point connected controls like the ShellListView to a folder that is not reachable by traversing the directory tree from the root given in the RootedAt directory.

Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
DeregisterShellControl(IShellControl)
Deregisters a control with the ShellControlConnector

DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
Enabled
Enabled returns true, if the messages should be passed through, false if the messages should be ignored.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
FileChanged
EventHandler for the FolderChanged event, which is triggered when the selected files has changed in one of the connected controls.

Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
FolderChanged
EventHandler for the FolderChanged event, which is triggered when the path has changed in one of the connected controls.

FullRefreshControls(IShellControl)
Calls the FullRefresh()()() FullRefresh() method for all connected controls.

GetCaptionForHistoryElement(Int32)
Retrieve the caption of a history element at the index given.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetHistoryElement(Int32)
Retrieve the history element at the index given.

GetHistoryEnumerable()()()
Use this method to enumerate all ShellItem instances that are available in the History.

GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HistoryCount
Get the count of the items available in the history.

HistoryCursor
This property contains the index of the current item in the history list

InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
IsMovePossible(Int32)
Checks if a move by delta steps in the history is possible.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MoveInHistory(Int32)
Move the pointer in the History by delta items. If delta is positive, move forward. Move backward if delta is negative.

OnFileChanged()()()
Fire the OnFileChanged event.

OnFolderChanged()()()
Triggers the FolderChanged event.

PathChanged(IShellControl, ItemIdList)
This public method is used by the connected controls for synchronization. Usually this method should not be called by the user directly.

RegisterShellControl(IShellControl)
Registers a control with the ShellControlConnector

SelectedFileChanged(IShellControl, ItemIdList)
This public method is used by the connected controls for synchronization. Usually this method should not be called by the user directly.

SelectionList
If the Checkboxes property of a control connected to a ShellControlConnector is enabled, this property contains the checked items.

ShowParentfolderItem
true, if appropriate controls may display a parent folder item or may go to the parent folder. false, if controls should prevent changing to the parent folder.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
SmartRefreshControls(IShellControl)
Calls the SmartRefresh()()() SmartRefresh() method for all connected controls

ToString()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Inheritance Hierarchy
Object
MarshalByRefObject
 Component
  ShellControlConnector

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)