RootShellFolder Class |
Namespace: ShellBoost.Core
public class RootShellFolder : ShellFolder
The RootShellFolder type exposes the following members.
Name | Description | |
---|---|---|
RootShellFolder(ShellItemIdList) |
Initializes a new instance of the RootShellFolder class.
| |
RootShellFolder(ShellItemIdList, DirectoryInfo) |
Initializes a new instance of the RootShellFolder class.
|
Name | Description | |
---|---|---|
AddNewMenuTemplatePath |
Gets or sets the add 'New' menu template path.
(Inherited from ShellFolder.) | |
AssociationElementList |
Gets the association element list of this item.
(Inherited from ShellItem.) | |
Attributes |
Gets or sets the System.SFGAOFlags property value.
(Inherited from ShellItem.) | |
CanBeCached |
Gets or sets a value indicating whether this instance can be cached.
(Inherited from ShellItem.) | |
CanCopy |
Gets or sets a value indicating whether this instance can be copied.
(Inherited from ShellItem.) | |
CanDelete |
Gets or sets a value indicating whether this instance can be deleted.
(Inherited from ShellItem.) | |
CanLink |
Gets or sets a value indicating whether this instance supports shortcut creation.
(Inherited from ShellItem.) | |
CanMove |
Gets or sets a value indicating whether this instance can be moved.
(Inherited from ShellItem.) | |
CanPaste |
Gets or sets a value indicating whether this instance supports clipboard paste operations.
This property value is the aggregation of CanMove, CanCopy and IsDropTarget values.
(Inherited from ShellItem.) | |
CanRename |
Gets or sets a value indicating whether this instance can be renamed.
(Inherited from ShellItem.) | |
Columns |
Gets this folder's columns.
(Inherited from ShellFolder.) | |
DateAccessed |
Gets or sets the System.DateAccessed property value.
(Inherited from ShellItem.) | |
DateCreated |
Gets or sets the System.DateCreated property value.
(Inherited from ShellItem.) | |
DateModified |
Gets or sets the System.DateModified property value.
(Inherited from ShellItem.) | |
DisplayName |
Gets or sets the System.ItemNameDisplay property value.
(Inherited from ShellItem.) | |
FileName |
Gets or sets the System.FileName property value.
(Inherited from ShellItem.) | |
FileSystemPath |
Gets or sets the physical file system path. A shell item does not need to have a corresponding file system path.
(Inherited from ShellItem.) | |
Flags |
Gets or sets the folder flags.
(Inherited from ShellFolder.) | |
FolderServer |
Gets the folder server.
Will be automatically set after the folder has been requested by the ShellFolderServer.
(Inherited from ShellFolder.) | |
FullDisplayName |
Gets this item's display name, that is, including the parent's full display name.
(Overrides ShellFolderFullDisplayName.) | |
FullParsingName |
Gets this item's parsing name, that is, including the parent's full parsing name.
(Overrides ShellFolderFullParsingName.) | |
HasPropertySheet |
Gets or sets a value indicating whether this instance supports the property sheet.
(Inherited from ShellItem.) | |
Id |
Gets this item identifier, which is this item's PIDL last segment.
(Inherited from ShellItem.) | |
IdList |
Gets this item's PIDL.
(Inherited from ShellItem.) | |
InitializeOptions |
Gets or sets the options used when the folder instance is initialized.
(Inherited from ShellFolder.) | |
IsDropTarget |
Gets or sets a value indicating whether this instance is a drop target.
(Inherited from ShellItem.) | |
IsFolder |
Gets a value indicating whether this instance is a folder.
(Inherited from ShellItem.) | |
IsHidden |
Gets or sets a value indicating whether this instance is hidden.
(Inherited from ShellItem.) | |
IsPlaceholder |
Gets or sets a value indicating whether this instance is a placeholder.
(Inherited from ShellItem.) | |
IsRoot |
Gets a value indicating whether this instance is the root folder.
(Inherited from ShellFolder.) | |
ItemType |
Gets or sets the System.ItemType property value.
(Inherited from ShellItem.) | |
KindList |
Gets the Windows KIND list of this item.
(Inherited from ShellItem.) | |
Parent |
Gets the parent folder.
(Inherited from ShellItem.) | |
ParsingName |
Gets this item's parsing name.
(Inherited from ShellItem.) | |
Perceived |
Gets the System.PerceivedType property value.
(Inherited from ShellItem.) | |
PropertyStore |
Gets the property store.
(Inherited from ShellItem.) | |
ReadPropertiesFromShell |
Gets or sets a value indicating whether to read properties from shell, if FileSystemPath is not null, when they are not defined by this instance.
(Inherited from ShellItem.) | |
Root |
Gets the root folder.
(Inherited from ShellFolder.) | |
Size |
Gets or sets the System.Size property value.
(Inherited from ShellItem.) | |
Thumbnail |
Gets or sets this item's thumbnail.
(Inherited from ShellItem.) | |
ViewMode |
Gets or sets the folder view mode.
(Inherited from ShellFolder.) |
Name | Description | |
---|---|---|
AddColumn(ShellFolderColumn) |
Adds a column to this folder.
If a column with the same property key was already present in the Columns collection, it will be replaced.
(Inherited from ShellFolder.) | |
AddColumn(PropertyDescription, SHCOLSTATE) |
Adds a column, defined as a property, to this folder.
If a column with the same property key was already present in the Columns collection, it will be replaced.
(Inherited from ShellFolder.) | |
AddColumn(PropertyKey, SHCOLSTATE) |
Adds a column, defined as a property key, to this folder.
If a column with the same property key was already present in the Columns collection, it will be replaced.
(Inherited from ShellFolder.) | |
AddColumn(String, SHCOLSTATE) |
Adds a column, using a property key canonical name, to this folder.
If a column with the same property key was already present in the Columns collection, it will be replaced.
(Inherited from ShellFolder.) | |
AddNewMenuToMenu |
Adds the New menu to a menu.
It only works if the AddNewMenuTemplatePath value is not null nor empty.
If this doesn't work, you can validate the path using Item.FromParsingName() method.
(Inherited from ShellFolder.) | |
CommitProperties |
Commits the property store.
(Inherited from ShellItem.) | |
CreateFileSystemFolder(DirectoryInfo) |
Creates a file system ShellItem instance for a folder under this folder.
The info's full path must a direct child of this full path.
(Inherited from ShellFolder.) | |
CreateFileSystemFolder(ShellItemId, String) |
Creates a file system ShellItem instance for a folder under this folder.
The file system path must a direct child of this full path.
(Inherited from ShellFolder.) | |
CreateFileSystemItem(FileInfo) |
Creates a file system ShellItem instance for a file under this folder.
The info's full path must a direct child of this full path.
(Inherited from ShellFolder.) | |
CreateFileSystemItem(FileSystemInfo, ShellItemIdList) |
Creates a file system ShellItem or ShellFolder instance for a file system entry.
The file system entry path must be a child at any level of this full path.
(Inherited from ShellFolder.) | |
CreateFileSystemItem(ShellItemId, String) |
Creates a file system ShellItem instance for a file under this folder
The file system path must a direct child of this full path.
(Inherited from ShellFolder.) | |
CreateInformationBarMenu |
Called when ShellBoost asks for an information bar menu. It expects items to be added as children of the menu instance.
This implementation does not add any items to the menu instance.
(Inherited from ShellFolder.) | |
CreatePropertyStore |
Creates the property store instance.
(Inherited from ShellItem.) | |
EnumerateFileSystemInfos(DirectoryInfo) |
Enumerates file system files and folders.
(Inherited from ShellFolder.) | |
EnumerateFileSystemInfos(DirectoryInfo, SHCONTF) |
Enumerates file system files and folders.
(Inherited from ShellFolder.) | |
EnumerateFileSystemInfos(DirectoryInfo, String) |
Enumerates file system files and folders.
(Inherited from ShellFolder.) | |
EnumerateFileSystemInfos(DirectoryInfo, SHCONTF, String) |
Enumerates file system files and folders.
(Inherited from ShellFolder.) | |
EnumFileSystemItems |
Enumerates File System Shell Items
(Inherited from ShellFolder.) | |
EnumItems |
Enumerates Shell Items.
To maximize performance, the GetItem(ShellItemId) and GetItem(string) methods should be overriden.
(Inherited from ShellFolder.) | |
FreezePropertyStore |
Freezes the property store.
The property store can be frozen when a client asks for the property store as a whole.
Overriding this method allows you to add properties to the frozen store.
(Inherited from ShellItem.) | |
GetContent |
Gets the content of this item.
(Inherited from ShellItem.) | |
GetDefaultDisplayColumn |
Gets the index of the default display column.
The default implementation returns -1 (unspecified).
(Inherited from ShellFolder.) | |
GetDefaultSortedColumn |
Gets the index of the default sorted column.
The default implementation returns -1 (unspecified).
(Inherited from ShellFolder.) | |
GetFullDisplayName |
Gets this item's display name, that is, including the parent's full display name.
| |
GetFullParsingName |
Gets this item's display name, that is, including the parent's full display name.
| |
GetInformationBar |
Called when ShellBoost asks for an information bar. This implementation returns null.
To be valid, an information bar must have a non empty guid and a non null nor empty message.
(Inherited from ShellFolder.) | |
GetItem(ShellItemId) |
Gets an item using its identifier.
This method should be overriden for direct access as the current implementation uses the EnumItems method.
(Inherited from ShellFolder.) | |
GetItem(ShellItemIdList) |
Gets a Shell Item using its full PIDL from the root.
This method is only supported if this instance is the root folder.
(Inherited from ShellFolder.) | |
GetItem(String) |
Gets an item using its display name.
This method should be overriden for direct access as the current implementation uses the EnumItems method.
(Inherited from ShellFolder.) | |
GetNullifiedPropertyValue(PropertyKey) |
Gets a string property key value. The string will be trimmed and converted to null if its length is 0.
(Inherited from ShellItem.) | |
GetNullifiedPropertyValue(PropertyKey, String) |
Gets a string property key value. The string will be trimmed and converted to the default value if its length is 0.
(Inherited from ShellItem.) | |
GetNullifiedPropertyValue(PropertyKey, IFormatProvider, String) |
Gets a string property key value. The string will be trimmed and converted to the default value if its length is 0.
(Inherited from ShellItem.) | |
GetPaneState |
Gets the Windows Explorer pane state.
(Inherited from ShellFolder.) | |
GetPropertyIndex |
Gets a property key index from this item's property store.
(Inherited from ShellItem.) | |
GetPropertyValue(PropertyKey, Object) |
Gets a property key value.
(Inherited from ShellItem.) | |
GetPropertyValueT(PropertyKey, T) |
Gets a typed property key value.
(Inherited from ShellItem.) | |
GetPropertyValueT(PropertyKey, FuncT) |
Gets a typed property key value.
(Inherited from ShellItem.) | |
GetRootFullDisplayName |
Gets this item's display name, that is, including the parent's full display name.
(Inherited from ShellFolder.) | |
GetRootFullParsingName |
Gets this item's display name, that is, including the parent's full display name.
(Inherited from ShellFolder.) | |
GetUri |
Gets the URI corresponding to this item.
(Inherited from ShellItem.) | |
HandleFileSystemSFGAO |
Handles flags for File System Shell item.
(Inherited from ShellItem.) | |
HandleInformationBarMenu |
Called when an information bar menu item has been clicked.
This implementation does nothing.
(Inherited from ShellFolder.) | |
Initialize |
Initializes this instance.
(Inherited from ShellFolder.) | |
InitializeFileSystem |
Initializes the file system. Called when the FileSystemPath property is set.
(Inherited from ShellFolder.) | |
IsPropertyWritable |
Determines whether the specified property key value is writable, from this item's property store.
(Inherited from ShellItem.) | |
MapContextMenuCommand |
Maps a context menu command.
(Inherited from ShellItem.) | |
MergeContextMenu |
Allows to add items to context menu.
(Inherited from ShellItem.) | |
MergeContextMenuBottom |
Allows to add items to the bottom of the context menu.
(Inherited from ShellItem.) | |
MergeContextMenuTop |
Allows to add items to the top of the context menu.
(Inherited from ShellItem.) | |
MergeViewMenu |
Merges a view menu.
(Inherited from ShellItem.) | |
ModifyContextMenuFlags |
The Shell is calling this method to ask for context menu flags modification.
(Inherited from ShellItem.) | |
NotifyAttributes |
Notifies the Windows Shell that this item attributes have changed.
(Inherited from ShellItem.) | |
NotifyCreate |
Notifies the Windows Shell that this item has been created.
(Inherited from ShellItem.) | |
NotifyDelete |
Notifies the Windows Shell that this item has been deleted.
(Inherited from ShellItem.) | |
NotifyRename(ShellItemId) |
Notifies the Windows Shell that this item has been renamed.
(Inherited from ShellItem.) | |
NotifyRename(ShellItemIdList) |
Notifies the Windows Shell that this item has been renamed.
(Inherited from ShellItem.) | |
NotifyUpdate |
Notifies the Windows Shell that this item has been updated.
(Inherited from ShellItem.) | |
OnAssociationElementListChanged |
Called when the AssociationElementList changes.
(Inherited from ShellItem.) | |
OnCommandExec |
Called when a specified command is executed.
(Inherited from ShellFolder.) | |
OnCommandQueryStatus |
Called when the status of one or more commands, generated by user interface events, is queried for.
(Inherited from ShellFolder.) | |
OnDragDropTarget |
Called on drag and drop events.
(Inherited from ShellItem.) | |
OnFileDialogEvent |
Called when a notification is sent by a Dialog Box.
(Inherited from ShellFolder.) | |
OnGetDataObjectEvent |
Called when a data object is requested for a shell item.
This will not be called if OnGetOnDemandDataObjectEvent has set a valid OnDemandDataObject instance.
(Inherited from ShellFolder.) | |
OnGetDragDropParametersEvent |
Called before a drag & drop operation is executed.
(Inherited from ShellFolder.) | |
OnGetDynamicColumnDetailsEvent |
Called when the native proxy is asking for a dynamic column details.
(Inherited from ShellFolder.) | |
OnGetFileDialogPropertiesEvent |
Called for determining what properties to gather for a future file dialog event.
(Inherited from ShellFolder.) | |
OnGetFolderSettingsEvent |
Called when the native proxy is asking for the current view settings.
(Inherited from ShellFolder.) | |
OnGetNameMaxLengthEvent |
Called for validating a Shell Item's name.
(Inherited from ShellFolder.) | |
OnGetNameValidCharactersEvent |
Called for validating a Shell Item's name.
(Inherited from ShellFolder.) | |
OnGetOnDemandDataObjectEvent |
Called when an on-demand data object is requested for a shell item.
If this method is overriden and sets a valid OnDemandDataObject instance, OnGetDataObjectEvent will not be called.
(Inherited from ShellFolder.) | |
OnManageColumnsEvent |
Called when the native proxy is asking for columns management.
(Inherited from ShellFolder.) | |
OnMenuInvoke |
Called when a menu is invoked.
(Inherited from ShellItem.) | |
OnMergingContextMenu |
Called when a context menu is merging.
Overriding this or one of ShellItems's MergeContextMenuXXX methods is similar but this is recommended to support future enhancements.
(Inherited from ShellFolder.) | |
OnOperate |
Called when a Shell Operation occurs.
(Inherited from ShellFolder.) | |
OnRefresh |
Called when the view is refreshed, for example when the end-user presses the F5 key from the list view.
(Inherited from ShellFolder.) | |
OnSelectAndEditItemEvent |
Called when a shell item has been created with the New menu.
(Inherited from ShellFolder.) | |
OnSetFolderServer |
Called when the folder server is set.
(Inherited from ShellFolder.) | |
ParseItem(String) |
Gets an item using its relative path from this folder.
The path is a list of display names separated by the '\' character.
If path is null or empty, this folder is returned.
(Inherited from ShellFolder.) | |
ParseItem(String, ShellItemIdList) |
Gets an item using its relative path from this folder.
The path is a list of display names separated by the '\' character.
If path is null or empty, this folder is returned.
(Inherited from ShellFolder.) | |
RefreshShellViews |
Refreshes all shell views.
(Inherited from ShellItem.) | |
RefreshShellViews(RefreshViewsOptions) |
Refreshes the shell views with options.
(Inherited from ShellItem.) | |
RemoveAllColumns |
Removes all columns.
(Inherited from ShellFolder.) | |
RemoveColumn(PropertyKey) |
Removes a column using the related property's key.
(Inherited from ShellFolder.) | |
RemoveColumn(ShellFolderColumn) |
Removes a column.
(Inherited from ShellFolder.) | |
RemoveColumn(String) |
Removes a column using the related property's canonical name.
(Inherited from ShellFolder.) | |
ResetShellThumbnail |
Resets the Windows Explorer thumbnail cache.
(Inherited from ShellItem.) | |
SetPropertyValue(PropertyDescription, Object) |
Sets a property value to this item's property store.
(Inherited from ShellItem.) | |
SetPropertyValue(PropertyKey, Object) |
Sets a property key value to this item's property store.
(Inherited from ShellItem.) | |
ShowDefaultContextMenu |
Determines if the default context menu should be shown.
(Inherited from ShellItem.) | |
ToString |
Returns a String that represents this instance.
(Inherited from ShellItem.) | |
TryCompare(ShellItem, ShellFolderColumn, CompareIdReturnValue) |
Compares this instance column with another.
(Inherited from ShellItem.) | |
TryCompare(ShellItem, SHCIDS, CompareIdReturnValue) |
Compares this instance with another.
(Inherited from ShellItem.) | |
TryCompareAllFields |
Compares this instance all columns with another.
(Inherited from ShellItem.) | |
TryGetAttributes |
Gets the attributes for a PIDL that may not represent an existing Shell Item.
This method is only implemented for file system Shell Items with PIDLs created from the ShellItemIdList.FromFileSystem method.
If you override it, make sure you also override TryParseItem, TryGetDisplayName and TryGetPropertyValue in a consistent manner.
(Inherited from ShellFolder.) | |
TryGetContent |
Gets the content of this item.
(Inherited from ShellItem.) | |
TryGetDisplayName |
Gets the display name for a PIDL that may not represent an existing Shell Item.
This method is only implemented for file system Shell Items with PIDLs created from the ShellItemIdList.FromFileSystem method.
If you override it, make sure you also override TryParseItem, TryGetAttributes and TryGetPropertyValue in a consistent manner.
(Inherited from ShellFolder.) | |
TryGetFileSystemValue |
Gets a property key value in the case of a File System Shell item.
(Inherited from ShellItem.) | |
TryGetPropertyAt |
Gets the property key at a given index, from this item's property store.
(Inherited from ShellItem.) | |
TryGetPropertyValue(PropertyKey, Object) |
Gets a property key value.
(Inherited from ShellItem.) | |
TryGetPropertyValue(ShellItemIdList, PropertyKey, Object) |
Gets a property key value. or a PIDL that may not represent an existing Shell Item.
This method returns false. If you override it, make sure you also override TryParseItem and TryGetDisplayName and TryGetAttributesin a consistent manner.
(Inherited from ShellFolder.) | |
TryGetPropertyValueT(PropertyKey, T, IFormatProvider) |
Gets a property key value and convert it to the expected type if needed.
(Inherited from ShellItem.) | |
TryParseItem |
Parses a display name for a Shell Item that may not exist.
This method is only implemented for file system Shell Items.
It will use the CreateFileSystemItem and CreateFileSystemFolder that you can override if you want it to use your derived classes instead.
If you override it, make sure you also override TryGetDisplayName, TryGetAttributes and TryGetPropertyValue in a consistent manner.
(Inherited from ShellFolder.) | |
UnmergeViewMenu |
Unmerges the view menu.
(Inherited from ShellItem.) |
Name | Description | |
---|---|---|
CommandExec |
Occurs when a specified command is executed.
(Inherited from ShellFolder.) | |
CommandQueryStatus |
Occurs when the status of one or more commands, generated by user interface events, is queried for.
(Inherited from ShellFolder.) | |
FileDialogEvent |
Raised when event are received from a Dialog Box.
(Inherited from ShellFolder.) | |
GetDataObject |
Raised when a data object for a Shell Item is requested.
(Inherited from ShellFolder.) | |
GetDragDropParameters |
Raised when a Shell Item is preparing a drag & drop operation.
(Inherited from ShellFolder.) | |
GetDynamicColumnDetails |
Raised when the shell asks for a dynamic column details.
(Inherited from ShellFolder.) | |
GetFileDialogProperties |
Raised to determine what properties to gather for a future file dialog event.
(Inherited from ShellFolder.) | |
GetFolderSettings |
Raised when a shell view window has been created.
(Inherited from ShellFolder.) | |
GetNameMaxLength |
Raised to validate a Shell Item name.
(Inherited from ShellFolder.) | |
GetNameValidCharacters |
Raised to validate a Shell Item name.
(Inherited from ShellFolder.) | |
GetOnDemandDataObject |
Raised when an on-demand data object for a Shell Item is requested.
(Inherited from ShellFolder.) | |
ManageColumns |
Raised when a shell view window has been created.
(Inherited from ShellFolder.) | |
MergingContextMenu |
Raised when a context menu is merging.
(Inherited from ShellFolder.) | |
Refresh |
Raised when the view is refreshed, for example when the end-user presses the F5 key from the list view.
(Inherited from ShellFolder.) | |
SelectAndEditItem |
Raised when a Shell Item has been created with the New menu.
(Inherited from ShellFolder.) |