FileDialogLoadPathEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the LoadPath event.
- C#
- VB.NET
public class FileDialogLoadPathEventArgs : CancelEventArgs
Public Class FileDialogLoadPathEventArgs
Inherits CancelEventArgs
Allows an application to filter the files and folders loaded by the FileDialog and FolderBrowserDialog components and to set the icon, creation date and modified date. To skip a file or folder, set e.Cancel = true. To set a file's icon, or date, set the ImageSource, CreationTime or LastWriteTime properties.
Constructors
FileDialogLoadPathEventArgs(path, isDirectory)
Constructs a new instance of FileDialogLoadPathEventArgs.
| Name | Type | Description |
|---|---|---|
| path | String | Path of the file or directory. |
| isDirectory | Boolean | Indicates that the path is for a directory. |
Properties
CreationTime
DateTime: Sets the creation DateTime of the file.
FileSize
Int64: Sets the file size in bytes.
ImageSource
String: Sets the name or path of the icon to display next to the file.
IsDirectory
Boolean: Returns true when the Path refers to a directory.
LastWriteTime
DateTime: Sets the last modified DateTime of the file.
Path
String: Returns the full path of the file or folder being loaded.
Used By
| Name | Description |
|---|---|
| FileDialogLoadPathEventHandler | Represents the method that will handle the LoadPath and LoadPath events. |