Class ViewerEventSink
Event sink for diagram view.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class ViewerEventSink : EventSink
Constructors
ViewerEventSink()
Declaration
public ViewerEventSink()
Methods
RaiseDeSerialize(SerializationEventsArgs)
Raises the diagram DeSerialize event while loading the diagram file.
Declaration
public void RaiseDeSerialize(SerializationEventsArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationEventsArgs | evtArgs | The SerializationEventsArgs instance containing the event data. |
RaiseMagnificationChanged(ViewMagnificationEventArgs)
Raises the magnification changed.
Declaration
public void RaiseMagnificationChanged(ViewMagnificationEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| ViewMagnificationEventArgs | evtArgs | The ViewMagnificationEventArgs instance containing the event data. |
RaiseNodeClick(NodeMouseEventArgs)
Raises the node click.
Declaration
public void RaiseNodeClick(NodeMouseEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeMouseEventArgs | evtArgs | The NodeMouseEventArgs instance containing the event data. |
RaiseNodeDeselected(NodeSelectedEventArgs)
Raises the node deselected.
Declaration
public void RaiseNodeDeselected(NodeSelectedEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeSelectedEventArgs | evtArgs | The NodeSelectedEventArgs instance containing the event data. |
RaiseNodeDoubleClick(NodeMouseEventArgs)
Raises the node double click.
Declaration
public void RaiseNodeDoubleClick(NodeMouseEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeMouseEventArgs | evtArgs | The NodeMouseEventArgs instance containing the event data. |
RaiseNodeDragEnter(DragEnterEventArgs)
Raises the node enter into the diagram.
Declaration
public void RaiseNodeDragEnter(DragEnterEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| DragEnterEventArgs | evtArgs | The DragEnterEventArgs instance containing the event data. |
RaiseNodeDragLeave(DragLeaveEventArgs)
Raises the node leaving from the diagram.
Declaration
public void RaiseNodeDragLeave(DragLeaveEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| DragLeaveEventArgs | evtArgs | The DragLeaveEventArgs instance containing the event data. |
RaiseNodeDragOver(DragOverEventArgs)
Raises the node drag overing into the diagram.
Declaration
public void RaiseNodeDragOver(DragOverEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| DragOverEventArgs | evtArgs | The DragOverEventArgs instance containing the event data. |
RaiseNodeMouseEnter(NodeMouseEventArgs)
Raises the node mouse enter.
Declaration
public void RaiseNodeMouseEnter(NodeMouseEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeMouseEventArgs | evtArgs | The NodeMouseEventArgs instance containing the event data. |
RaiseNodeMouseLeave(NodeMouseEventArgs)
Raises the node mouse leave.
Declaration
public void RaiseNodeMouseLeave(NodeMouseEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeMouseEventArgs | evtArgs | The NodeMouseEventArgs instance containing the event data. |
RaiseNodesChangedEvent(CollectionExEventArgs)
Raises the node collection changed event.
Declaration
public override void RaiseNodesChangedEvent(CollectionExEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionExEventArgs | evtArgs | The CollectionExEventArgs instance containing the event data. |
Overrides
RaiseNodesChangingEvent(CollectionExEventArgs)
Raises the node collection changing event.
Declaration
public override bool RaiseNodesChangingEvent(CollectionExEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionExEventArgs | evtArgs | The CollectionExEventArgs instance containing the event data. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true, if raise nodes changing event. |
Overrides
RaiseNodeSelected(NodeSelectedEventArgs)
Raises the node selected.
Declaration
public void RaiseNodeSelected(NodeSelectedEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeSelectedEventArgs | evtArgs | The NodeSelectedEventArgs instance containing the event data. |
RaiseOriginChanged(ViewOriginEventArgs)
Raises the origin changed.
Declaration
public void RaiseOriginChanged(ViewOriginEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| ViewOriginEventArgs | evtArgs | The ViewOriginEventArgs instance containing the event data. |
RaiseScrollVirtualBoundsChanged(ViewScrollVirtualBoundsEventArgs)
Raises the scroll virtual bounds changed.
Declaration
public void RaiseScrollVirtualBoundsChanged(ViewScrollVirtualBoundsEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| ViewScrollVirtualBoundsEventArgs | evtArgs | The ViewScrollVirtualBoundsEventArgs instance containing the event data. |
RaiseSelectionChangedEvent(CollectionExEventArgs)
Raises the selection list changed event.
Declaration
public void RaiseSelectionChangedEvent(CollectionExEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionExEventArgs | evtArgs | The CollectionExEventArgs instance containing the event data. |
RaiseSelectionChangingEvent(CollectionExEventArgs)
Raises the selection list changing event.
Declaration
public void RaiseSelectionChangingEvent(CollectionExEventArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionExEventArgs | evtArgs | The CollectionExEventArgs instance containing the event data. |
RaiseSerialize(SerializationEventsArgs)
Raises the diagram Serialize event while saving the diagram file.
Declaration
public void RaiseSerialize(SerializationEventsArgs evtArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationEventsArgs | evtArgs | The SerializationEventsArgs instance containing the event data. |
Events
Deserialized
Occurs While loading the Diagram file
Declaration
public event DeserializeEventHandler Deserialized
Event Type
| Type |
|---|
| DeserializeEventHandler |
MagnificationChanged
Occurs when view magnification changed.
Declaration
public event ViewMagnificationEventHandler MagnificationChanged
Event Type
| Type |
|---|
| ViewMagnificationEventHandler |
NodeClick
Occurs when click on node.
Declaration
public event NodeMouseEventHandler NodeClick
Event Type
| Type |
|---|
| NodeMouseEventHandler |
NodeCollectionChanged
Occurs when node collection changed.
Declaration
public override event CollectionExEventHandler NodeCollectionChanged
Event Type
| Type |
|---|
| CollectionExEventHandler |
Overrides
NodeCollectionChanging
Occurs when node collection changing.
Declaration
public override event CollectionExEventHandler NodeCollectionChanging
Event Type
| Type |
|---|
| CollectionExEventHandler |
Overrides
NodeDeselected
Occurs when view node deselected.
Declaration
public event NodeSelectedEventHandler NodeDeselected
Event Type
| Type |
|---|
| NodeSelectedEventHandler |
NodeDoubleClick
Occurs when double click on node.
Declaration
public event NodeMouseEventHandler NodeDoubleClick
Event Type
| Type |
|---|
| NodeMouseEventHandler |
NodeDragEnter
Occurs when Node Entered into the Diagram.
Declaration
public event NodeDragEnterEventHandler NodeDragEnter
Event Type
| Type |
|---|
| NodeDragEnterEventHandler |
NodeDragLeave
Occurs when Node leaving from the Diagram.
Declaration
public event NodeDragLeaveEventHandler NodeDragLeave
Event Type
| Type |
|---|
| NodeDragLeaveEventHandler |
NodeDragOver
Occurs when Node Dragging over into the Diagram.
Declaration
public event NodeDragOverEventHandler NodeDragOver
Event Type
| Type |
|---|
| NodeDragOverEventHandler |
NodeMouseEnter
Occurs when mouse enter inside node.
Declaration
public event NodeMouseEventHandler NodeMouseEnter
Event Type
| Type |
|---|
| NodeMouseEventHandler |
NodeMouseLeave
Occurs when mouse leave node.
Declaration
public event NodeMouseEventHandler NodeMouseLeave
Event Type
| Type |
|---|
| NodeMouseEventHandler |
NodeSelected
Occurs when view node selected.
Declaration
public event NodeSelectedEventHandler NodeSelected
Event Type
| Type |
|---|
| NodeSelectedEventHandler |
OriginChanged
Occurs when view origin changed.
Declaration
public event ViewOriginEventHandler OriginChanged
Event Type
| Type |
|---|
| ViewOriginEventHandler |
ScrollVirtualBoundsChanged
Occurs when scroll virtual bounds changed.
Declaration
public event ViewScrollVirtualBoundsEventHandler ScrollVirtualBoundsChanged
Event Type
| Type |
|---|
| ViewScrollVirtualBoundsEventHandler |
SelectionListChanged
Occurs when selection list changed.
Declaration
public event CollectionExEventHandler SelectionListChanged
Event Type
| Type |
|---|
| CollectionExEventHandler |
SelectionListChanging
Occurs when selection list changing.
Declaration
public event CollectionExEventHandler SelectionListChanging
Event Type
| Type |
|---|
| CollectionExEventHandler |
Serialized
Occurs While Saving the Diagram file
Declaration
public event SerializeEventHandler Serialized
Event Type
| Type |
|---|
| SerializeEventHandler |