New to Telerik UI for WinForms? Start a free 30-day trial

Carries a directory before a DirectoryInfoWrapper is created; set Cancel to prevent wrapper creation.

Definition

Namespace:Telerik.WinControls.FileDialogs

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DirectoryRequestingEventArgs : EventArgs

Inheritance: objectEventArgsDirectoryRequestingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the DirectoryRequestingEventArgs class.

C#
public DirectoryRequestingEventArgs(DirectoryInfo directory)
Parameters:directoryDirectoryInfo

The directory for which wrapper creation is being requested.

Properties

Gets or sets a value indicating whether the directory wrapper creation should be cancelled.

C#
public bool Cancel { get; set; }

The DirectoryInfo which is requested.

C#
public DirectoryInfo Directory { get; }