menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DocumentEventSink - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DocumentEventSink

    Inherits from EventSink and contains additional node and primitives transformation events.

    Inheritance
    System.Object
    Service
    EventSink
    DocumentEventSink
    Inherited Members
    EventSink.AddHandler(EventKey, Delegate)
    EventSink.CancelCollectionChanged
    EventSink.Handlers
    EventSink.HighPriorityHandlers
    EventSink.NodeCollectionChanged
    EventSink.NodeCollectionChanging
    EventSink.PropertyChanged
    EventSink.PropertyChanging
    EventSink.RaiseCancelCollectionChangedEvent(CollectionExEventArgs)
    EventSink.RaiseNodesChangedEvent(CollectionExEventArgs)
    EventSink.RaiseNodesChangingEvent(CollectionExEventArgs)
    EventSink.RaisePropertyChangedEvent(IPropertyContainer, String)
    EventSink.RaisePropertyChangingEvent(IPropertyContainer, String, Object)
    EventSink.RemoveHandler(EventKey, Delegate)
    Service.OnPause()
    Service.OnResume()
    Service.OnStart()
    Service.OnStop()
    Service.Pause()
    Service.Paused
    Service.Resume()
    Service.Resumed
    Service.ServiceStatus
    Service.Start()
    Service.Started
    Service.Stop()
    Service.Stopped
    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.Base.dll
    Syntax
    public class DocumentEventSink : EventSink

    Constructors

    DocumentEventSink()

    Declaration
    public DocumentEventSink()

    Methods

    RaiseAlignmentChanged(AlignmentChangedEventArgs)

    Declaration
    public virtual AlignmentChangedEventArgs RaiseAlignmentChanged(AlignmentChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    AlignmentChangedEventArgs evtArgs
    Returns
    Type
    AlignmentChangedEventArgs

    RaiseConnectionsChangedEvent(CollectionExEventArgs)

    Raises the connections changed event.

    Declaration
    public void RaiseConnectionsChangedEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    The CollectionExEventArgs instance containing the event data.

    RaiseConnectionsChangingEvent(CollectionExEventArgs)

    Raises the connections changing event.

    Declaration
    public void RaiseConnectionsChangingEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    The CollectionExEventArgs instance containing the event data.

    RaiseDocumentBeginUpdate()

    Raises the document begin update.

    Declaration
    public void RaiseDocumentBeginUpdate()

    RaiseDocumentEndUpdate()

    Raises the document end update.

    Declaration
    public void RaiseDocumentEndUpdate()

    RaiseEndPointChangingEvent(EndPointChangingEventArgs)

    Raise the Source changing event while establishing the connection

    Declaration
    public void RaiseEndPointChangingEvent(EndPointChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    EndPointChangingEventArgs evtArgs

    The EndPointChangingEventArgs instance containing the event data.

    RaiseFlipChanged(FlipChangedEventArgs)

    Raises the flip changed.

    Declaration
    public void RaiseFlipChanged(FlipChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    FlipChangedEventArgs evtArgs

    The FlipChangedEventArgs instance containing the event data.

    RaiseFlipChanging(FlipChangingEventArgs)

    Raises the flip changing.

    Declaration
    public bool RaiseFlipChanging(FlipChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    FlipChangingEventArgs evtArgs

    The FlipChangingEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    true, if raise flip changing event.

    RaiseLabelsChangedEvent(CollectionExEventArgs)

    Raises the labels changed event.

    Declaration
    public void RaiseLabelsChangedEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    The CollectionExEventArgs instance containing the event data.

    RaiseLayersChangedEvent(CollectionExEventArgs)

    Raises the layers changed event.

    Declaration
    public void RaiseLayersChangedEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    The CollectionExEventArgs instance containing the event data.

    RaisePinOffsetChanged(PinOffsetChangedEventArgs)

    Raises the pin offset changed.

    Declaration
    public void RaisePinOffsetChanged(PinOffsetChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    PinOffsetChangedEventArgs evtArgs

    The PinOffsetChangedEventArgs instance containing the event data.

    RaisePinOffsetChanging(PinOffsetChangingEventArgs)

    Raises the pin offset changing.

    Declaration
    public bool RaisePinOffsetChanging(PinOffsetChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    PinOffsetChangingEventArgs evtArgs

    The PinOffsetChangingEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    true, if raise pin point offset changing event.

    RaisePinPointChanged(PinPointChangedEventArgs)

    Raises the pin point changed.

    Declaration
    public void RaisePinPointChanged(PinPointChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    PinPointChangedEventArgs evtArgs

    The PinPointChangedEventArgs instance containing the event data.

    RaisePinPointChanging(PinPointChangingEventArgs)

    Raises the pin point changing.

    Declaration
    public bool RaisePinPointChanging(PinPointChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    PinPointChangingEventArgs evtArgs

    The PinPointChangingEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    true, if raise pin point changing event.

    RaisePortsChangedEvent(CollectionExEventArgs)

    Raises the ports changed event.

    Declaration
    public void RaisePortsChangedEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    The CollectionExEventArgs instance containing the event data.

    RaiseRotationChanged(RotationChangedEventArgs)

    Raises the rotation changed.

    Declaration
    public void RaiseRotationChanged(RotationChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    RotationChangedEventArgs evtArgs

    The RotationChangedEventArgs instance containing the event data.

    RaiseRotationChanging(RotationChangingEventArgs)

    Raises the rotation changing.

    Declaration
    public bool RaiseRotationChanging(RotationChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    RotationChangingEventArgs evtArgs

    The RotationChangingEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    true, if raise rotation changing event.

    RaiseSizeChanged(SizeChangedEventArgs)

    Raises the size changed.

    Declaration
    public void RaiseSizeChanged(SizeChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    SizeChangedEventArgs evtArgs

    The SizeChangedEventArgs instance containing the event data.

    RaiseSizeChanging(SizeChangingEventArgs)

    Raises the size changing.

    Declaration
    public bool RaiseSizeChanging(SizeChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    SizeChangingEventArgs evtArgs

    The SizeChangingEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    true, if raise size changing event.

    RaiseVertexChanged(VertexChangedEventArgs)

    Raises the vertex changed.

    Declaration
    public void RaiseVertexChanged(VertexChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    VertexChangedEventArgs evtArgs

    The VertexChangedEventArgs instance containing the event data.

    RaiseVertexChanging(VertexChangingEventArgs)

    Raises the vertex changing.

    Declaration
    public bool RaiseVertexChanging(VertexChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    VertexChangingEventArgs evtArgs

    The VertexChangingEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    true, if raise vertex changing event.

    RaiseZOrderChanged(ZOrderChangedEventArgs)

    Raises the Z order changed.

    Declaration
    public void RaiseZOrderChanged(ZOrderChangedEventArgs evtArgs)
    Parameters
    Type Name Description
    ZOrderChangedEventArgs evtArgs

    The ZOrderChangedEventArgs instance containing the event data.

    RaiseZOrderChanging(ZOrderChangingEventArgs)

    Raises the Z order changing.

    Declaration
    public bool RaiseZOrderChanging(ZOrderChangingEventArgs evtArgs)
    Parameters
    Type Name Description
    ZOrderChangingEventArgs evtArgs

    The ZOrderChangingEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    true, if raise Z order changing event.

    Events

    AlignmentChanged

    Declaration
    public event AlignmentEventHandler AlignmentChanged
    Event Type
    Type
    AlignmentEventHandler

    ConnectionsChanged

    Occurs when connections collections changed.

    Declaration
    public event CollectionExEventHandler ConnectionsChanged
    Event Type
    Type
    CollectionExEventHandler

    ConnectionsChanging

    Occurs when connections collections changing.

    Declaration
    public event CollectionExEventHandler ConnectionsChanging
    Event Type
    Type
    CollectionExEventHandler

    ConnectorSourceChanging

    Occurs when Source connections changing.

    Declaration
    public event EndPointChangingEventHandler ConnectorSourceChanging
    Event Type
    Type
    EndPointChangingEventHandler

    ConnectorTargetChanging

    Occurs when Target connections changing.

    Declaration
    public event EndPointChangingEventHandler ConnectorTargetChanging
    Event Type
    Type
    EndPointChangingEventHandler

    DocumentBeginUpdate

    Occurs when document begin update.

    Declaration
    public event EventHandler DocumentBeginUpdate
    Event Type
    Type
    System.EventHandler

    DocumentEndUpdate

    Occurs when document end update.

    Declaration
    public event EventHandler DocumentEndUpdate
    Event Type
    Type
    System.EventHandler

    FlipChanged

    Occurs when flip flag changed.

    Declaration
    public event FlipChangedEventHandler FlipChanged
    Event Type
    Type
    FlipChangedEventHandler

    FlipChanging

    Occurs when flip flag changing.

    Declaration
    public event FlipChangingEventHandler FlipChanging
    Event Type
    Type
    FlipChangingEventHandler

    LabelsChanged

    Occurs when labels collections changed.

    Declaration
    public event CollectionExEventHandler LabelsChanged
    Event Type
    Type
    CollectionExEventHandler

    LayersChanged

    Occurs when layers collections changed.

    Declaration
    public event CollectionExEventHandler LayersChanged
    Event Type
    Type
    CollectionExEventHandler

    PinOffsetChanged

    Occurs when pin offset changed.

    Declaration
    public event PinOffsetChangedEventHandler PinOffsetChanged
    Event Type
    Type
    PinOffsetChangedEventHandler

    PinOffsetChanging

    Occurs when pin offset changing.

    Declaration
    public event PinOffsetChangingEventHandler PinOffsetChanging
    Event Type
    Type
    PinOffsetChangingEventHandler

    PinPointChanged

    Occurs when pin point changed.

    Declaration
    public event PinPointChangedEventHandler PinPointChanged
    Event Type
    Type
    PinPointChangedEventHandler

    PinPointChanging

    Occurs when pin point changing.

    Declaration
    public event PinPointChangingEventHandler PinPointChanging
    Event Type
    Type
    PinPointChangingEventHandler

    PortsChanged

    Occurs when ports collections changed.

    Declaration
    public event CollectionExEventHandler PortsChanged
    Event Type
    Type
    CollectionExEventHandler

    RotationChanged

    Occurs when rotation angle changed.

    Declaration
    public event RotationChangedEventHandler RotationChanged
    Event Type
    Type
    RotationChangedEventHandler

    RotationChanging

    Occurs when rotation angle changing.

    Declaration
    public event RotationChangingEventHandler RotationChanging
    Event Type
    Type
    RotationChangingEventHandler

    SizeChanged

    Occurs when size changed.

    Declaration
    public event SizeChangedEventHandler SizeChanged
    Event Type
    Type
    SizeChangedEventHandler

    SizeChanging

    Occurs when size changing.

    Declaration
    public event SizeChangingEventHandler SizeChanging
    Event Type
    Type
    SizeChangingEventHandler

    VertexChanged

    Occurs when vertex changed.

    Declaration
    public event VertexChangedEventHandler VertexChanged
    Event Type
    Type
    VertexChangedEventHandler

    VertexChanging

    Occurs when vertex changing.

    Declaration
    public event VertexChangingEventHandler VertexChanging
    Event Type
    Type
    VertexChangingEventHandler

    ZOrderChanged

    Occurs when Z order changed.

    Declaration
    public event ZOrderChangedEventHandler ZOrderChanged
    Event Type
    Type
    ZOrderChangedEventHandler

    ZOrderChanging

    Occurs when Z order changing.

    Declaration
    public event ZOrderChangingEventHandler ZOrderChanging
    Event Type
    Type
    ZOrderChangingEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved