New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the BeforeOpenFile event.

Definition

Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class OpenFileDialogEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsOpenFileDialogEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the OpenFileDialogEventArgs class.

C#
public OpenFileDialogEventArgs(OpenFileDialog dialog)
Parameters:dialogOpenFileDialog

The dialog that will be displayed.

Properties

Gets the file dialog that will be displayed.

C#
public OpenFileDialog Dialog { get; }