cete.dynamicpdf.viewer.contextmenushowingeventargs
ContextMenuShowingEventArgs
- Namespace: ceTe.DynamicPDF.Viewer
- Assemblies: ceTe.DynamicPDF.Viewer.40.x64.dll, ceTe.DynamicPDF.Viewer.40.x86.dll
Provides data for the ContextMenuShowingEventHandler event.
public class ContextMenuShowingEventArgs : EventArgs
Public Class ContextMenuShowingEventArgs
Inherits EventArgs
Inheritance: Object → EventArgs → ContextMenuShowingEventArgs
Licensing
This class is a DynamicPDF Viewer feature. The following license is required for non-evaluation usage:
- DynamicPDF Viewer for .NET
Examples
For example refer to ContextMenuShowingEventHandler event.
Properties
AssignedContextMenu
Gets or sets the context menu of the control.
public ContextMenuStrip AssignedContextMenu { get; set; }
Public Property AssignedContextMenu As ContextMenuStrip
Property Value
Remarks
If assigned context menu is not set viewer will sets its own context menu for the control.
Cancel
Gets or sets the boolean value that will hide the context menu.
public bool Cancel { get; set; }
Public Property Cancel As Boolean
Property Value
MenuContextType
Gets the context type.
public ContextType MenuContextType { get; }
Public Property MenuContextType As ContextType
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .