Class BeforePopupOpenCloseEventArgs
Represents the class for BeforePopupOpenClose event arguments.
Inheritance
System.Object
BeforePopupOpenCloseEventArgs
Namespace: Syncfusion.Blazor.FileManager
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforePopupOpenCloseEventArgs : Object
Constructors
BeforePopupOpenCloseEventArgs()
Declaration
public BeforePopupOpenCloseEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the FileManager should prevent the dialog from opening.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
When the Cancel property is set to true
, the FileManager will prevent the dialog from opening.
This can be useful in situations where you want to disable file uploads or perform custom validation before the dialog is opened.
PopupName
Gets or sets the name of the current FileManager dialog action.
Declaration
public string PopupName { get; set; }
Property Value
Type |
---|
System.String |
Remarks
Returns the following actions name
- Upload
- Create Folderr
- Image Preview
- File Details
- Rename
- Delete
- Duplicate Items
- Errors