Class FileSystemInfoWrapperFactoryBase
Base factory class for creating File
Inheritance
Inherited Members
Namespace: Telerik.WinControls.FileDialogs
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class FileSystemInfoWrapperFactoryBase
Constructors
FileSystemInfoWrapperFactoryBase()
Declaration
protected FileSystemInfoWrapperFactoryBase()
Methods
CleanupPath(String, DirectoryInfoWrapper, Boolean)
Called when a file path no longer exists (for example when a file is moved, renamed or deleted).
Declaration
public abstract void CleanupPath(string filePath, DirectoryInfoWrapper parentWrapper, bool isRename = false)
Parameters
System. The path that no longer exists. |
Directory The DirectoryInfoWrapper of the parent folder. |
System. Indicates whether the file is being renamed causing deleted event. |
ShouldCreateRequestedInfo(DirectoryInfo)
Returns a value indicating whether a Directory
Declaration
protected virtual bool ShouldCreateRequestedInfo(DirectoryInfo directoryInfo)
Parameters
System.
|
Returns
System.
|
TryGetConcreteFileSystemInfoWrapper(FileSystemInfo, out FileSystemInfoWrapper)
Returns File
Declaration
public abstract bool TryGetConcreteFileSystemInfoWrapper(FileSystemInfo fileSystemInfo, out FileSystemInfoWrapper fileSystemInfoWrapper)
Parameters
System.
|
File
|
Returns
System.
|
TryGetDirectoryInfoWrapper(DirectoryInfo, out DirectoryInfoWrapper)
Returns the Directory
Declaration
public abstract bool TryGetDirectoryInfoWrapper(DirectoryInfo directoryInfo, out DirectoryInfoWrapper directoryInfoWrapper)
Parameters
System.
|
Directory
|
Returns
System.
|
Events
ChildFileDeleted
Occurs when a child file or folder is deleted/removed.
Declaration
public event EventHandler<ChildFileDeletedEventArgs> ChildFileDeleted
Event Type
System.
|
DirectoryRequesting
Occurs when DirectoryInfo wrapper is about to be created. User can cancel the creation by handling the event and setting the
Directory
Declaration
public event EventHandler<DirectoryRequestingEventArgs> DirectoryRequesting
Event Type
System.
|
ExceptionRaised
Occurs when creating a FileSystemInfo wrapper or DirectoryInfo wrapper produces an exception.
Declaration
public event EventHandler<FileBrowserExceptionRaisedEventArgs> ExceptionRaised
Event Type
System.
|