Event args for the ShellContextMenuOpening event.
Definition
Namespace:Telerik.Windows.Controls.FileDialogs
Assembly:Telerik.Windows.Controls.FileDialogs.dll
Syntax:
public class ContextMenuOpeningEventArgs : EventArgs
Inheritance: objectEventArgsContextMenuOpeningEventArgs
Inherited Members
Constructors
Initializes a new instance of the ContextMenuOpeningEventArgs class.
public ContextMenuOpeningEventArgs(IList<FileSystemInfoWrapper> selectedFiles, bool isOpeningOnEmptySpace = false)
The files on which the context menu is triggered.
isOpeningOnEmptySpaceboolTrue if context menu is opening in the empty area.
Properties
Gets or sets a value indicating whether this context menu opening should be cancelled.
public bool Cancel { get; set; }
Gets a value indicating whether this context menu is opening on empty space.
public bool IsOpeningOnEmptySpace { get; }
Gets the list of files on which the context menu is being opened. If the list is empty, context menu is opened on empty space in the dialog or explorer control.
public IList<FileSystemInfoWrapper> SelectedFiles { get; }
Gets or sets a value indicating all available options for the short context menu (shown on empty places on no selected files).
public ShortContextMenuOptions ShortContextMenuOptions { get; set; }