Class ContextMenuOpeningEventArgs
Event args for the ShellContextMenuOpening event.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.FileDialogs
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ContextMenuOpeningEventArgs : EventArgs
Constructors
ContextMenuOpeningEventArgs(IList<FileSystemInfoWrapper>, Boolean)
Initializes a new instance of the ContextMenuOpeningEventArgs class.
Declaration
public ContextMenuOpeningEventArgs(IList<FileSystemInfoWrapper> selectedFiles, bool isOpeningOnEmptySpace)
Parameters
System.Collections.Generic.IList<FileSystemInfoWrapper>
selectedFiles
The files on which the context menu is triggered. |
System.Boolean
isOpeningOnEmptySpace
A value indicating whether the context menu is opening over an empty space. |
Properties
Cancel
Gets or sets a value indicating whether this context menu opening should be cancelled.
Declaration
public bool Cancel { get; set; }
Property Value
System.Boolean
|
IsOpeningOnEmptySpace
Gets or sets a value indicating whether the short context menu is opening (shown on empty places on no selected files).
Declaration
public bool IsOpeningOnEmptySpace { get; set; }
Property Value
System.Boolean
|
SelectedFiles
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.
Declaration
public IList<FileSystemInfoWrapper> SelectedFiles { get; }
Property Value
System.Collections.Generic.IList<FileSystemInfoWrapper>
|
ShortContextMenuOptions
Gets or sets a value indicating all available options for the short context menu (shown on empty places on no selected files).
Declaration
public ShortContextMenuOptions ShortContextMenuOptions { get; set; }
Property Value
ShortContextMenuOptions
|