BaseSelectionList Class |
Namespace: Jam.Shell
The BaseSelectionList type exposes the following members.
Name | Description | |
---|---|---|
BaseSelectionList |
Initializes a new instance of the BaseSelectionList class.
|
Name | Description | |
---|---|---|
AllowDuplicates |
Gets or sets a value indicating whether to allow duplicate entries in the list.
(Inherited from PathCollection.) | |
CalculateSelectedFiles |
Use CalculateSelectedFiles to control whether the size and count of the selected files should be calculated or not.
| |
CheckIfExists |
If true, paths that do not exist will not be added to the list
(Inherited from PathCollection.) | |
FileCount |
Get the total number of selected files.
| |
FolderCount |
Get the total number of selected folders.
| |
IsReadOnly |
Gets a value indicating whether the collection is read-only.
(Inherited from PathCollection.) | |
Item |
Returns a path with a certain index.
(Inherited from PathCollection.) | |
Size |
Get the total size of the selected items.
|
Name | Description | |
---|---|---|
AbortSizeCalculation |
Aborts the calculation of the selected files size.
| |
Add(IEnumerable) |
Add all items of the given enumrable class to the list.
(Inherited from PathCollection.) | |
Add(IEnumerableIJamItemIdList) | Adds the paths of the passed ItemIdLists to the list. (Inherited from PathCollection.) | |
Add(String) |
Adds the given path to the list of path.
(Inherited from PathCollection.) | |
AddPath |
Adds the given path to the list of path. It does not fire the Changing and Change event.
(Inherited from PathCollection.) | |
AddPathToSelection |
Adds a path to the list of selected paths.
| |
BeginUpdate |
Prevent that the SelectionListChanged event is fired until EndUpdate is called. Every call of BeginUpdate() increments an UpdateCounter variable.
(Inherited from PathCollection.) | |
CalculateAndUpdateSize |
Calculates the count and size for the given folder and updates the properties.
| |
Clear |
Removes all elements from the list
(Overrides PathCollectionClear.) | |
Clone |
Creates a copy of the current PathCollection
(Inherited from PathCollection.) | |
CompletePathSelected |
Ensures that the smallest complete selected path is added.
| |
Contains |
Returns true if the given path is in the list
(Inherited from PathCollection.) | |
CopyTo |
Copies the elements of the PathCollection to an Array, starting at a particular Array index.
(Inherited from PathCollection.) | |
Delete |
Removes the path with the given index from the list.
(Inherited from PathCollection.) | |
Dispose |
Releases ressources.
(Inherited from PathCollection.) | |
Dispose(Boolean) |
Releases managed ressources.
(Overrides PathCollectionDispose(Boolean).) | |
EndUpdate |
Every call of EndUpdate() decrements the UpdateCounter variable. When the UpdateCounter is 0, then the SelectionListChanged event is fired.
(Inherited from PathCollection.) | |
Finalize |
Finalizes an instance of the BaseSelectionList class.
(Overrides ObjectFinalize.) | |
GetListItem |
Returns an item of the list at the passed index.
| |
IndexOf |
Returns the index of the given path.
(Inherited from PathCollection.) | |
IsUpdating | Query if this instance is currently updating. (Inherited from PathCollection.) | |
Objects |
Returns the object associated with a path.
(Inherited from PathCollection.) | |
OnChanged |
Fires the Change event.
(Inherited from PathCollection.) | |
OnChanging |
Fires the Changing event.
(Inherited from PathCollection.) | |
PathSelected |
Abstract definiton of the method PathSelected in the base class.
| |
PathWasRenamed |
Call this method to update the collection, e.g. upon path rename.
(Inherited from PathCollection.) | |
Remove |
Removes a path from the list.
(Inherited from PathCollection.) | |
RemovePath | Removes the given path. (Inherited from PathCollection.) | |
RemovePathFromSelection |
Use this procedure to remove an item from the selection list.
| |
ToString |
Override the inherited method ToString().
(Inherited from PathCollection.) | |
Update |
Updates the object associated with a path.
(Inherited from PathCollection.) |
Name | Description | |
---|---|---|
Change |
This event gets fired after items were added or deleted.
(Inherited from PathCollection.) | |
Changing |
This event gets fired before items are added or deleted.
(Inherited from PathCollection.) |
Name | Description | |
---|---|---|
m_FileCount |
the current file count.
| |
m_FolderCount |
the current folder count.
| |
m_Size |
the current size.
|