Class DiagramViewerEventSink
Inherits from ViewerEventSink and contains additional tool events handles.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class DiagramViewerEventSink : ViewerEventSink
Constructors
DiagramViewerEventSink()
Declaration
public DiagramViewerEventSink()
Methods
RaiseToolActivated(ToolEventArgs)
Raises the tool activated.
Declaration
public void RaiseToolActivated(ToolEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
ToolEventArgs | evtArgs | The ToolEventArgs instance containing the event data. |
RaiseToolDeactivated(ToolEventArgs)
Raises the tool deactivated.
Declaration
public void RaiseToolDeactivated(ToolEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
ToolEventArgs | evtArgs | The ToolEventArgs instance containing the event data. |
Events
ToolActivated
Occurs when tool is activated.
Declaration
public event ToolEventHandler ToolActivated
Event Type
Type |
---|
ToolEventHandler |
ToolDeactivated
Occurs when tool is deactivated.
Declaration
public event ToolEventHandler ToolDeactivated
Event Type
Type |
---|
ToolEventHandler |