Class SumatraPDFControl.ContextMenuOpeningEventArgs
Argument class receiced by ContextMenuOpening event
Inheritance
System.Object
System.EventArgs
SumatraPDFControl.ContextMenuOpeningEventArgs
Namespace: SumatraPDF
Assembly: SumatraPDFControl.dll
Syntax
public class ContextMenuOpeningEventArgs : EventArgs
Constructors
| Improve this Doc View SourceContextMenuOpeningEventArgs(Int32, Int32)
ContextMenuOpeningEventArgs constructor
Declaration
public ContextMenuOpeningEventArgs(int X, int Y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | X | |
System.Int32 | Y |
Properties
| Improve this Doc View SourceHandled
Indicates wether event will be handled or not (default false)
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
if set to true default context menu will not be displayed
X
X horizontal position, relative to SumatraPDF control, where context menu is about to open
Declaration
public int X { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Y
Y vertical position, relative to SumatraPDF control, where context menu is about to open
Declaration
public int Y { get; }
Property Value
Type | Description |
---|---|
System.Int32 |