Class ObjectDrawnEventArgs
Provides data for ObjectDrawnEvent of the diagram.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class ObjectDrawnEventArgs : DiagramEventArgs
Constructors
ObjectDrawnEventArgs(Object, DragState, ItemSource)
Initializes a new instance of the ObjectDrawnEventArgs class.
Declaration
public ObjectDrawnEventArgs(object item, DragState state, ItemSource cause)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item of the drawing object. |
DragState | state | The state of the drawing object. |
ItemSource | cause | Cause of the drawing object. |
Properties
Cause
Gets the cause of the drawing object.
Declaration
public ItemSource Cause { get; }
Property Value
Type |
---|
ItemSource |
SourcePort
Gets or sets the sourceport of the drawing object.
Declaration
public IPort SourcePort { get; set; }
Property Value
Type |
---|
IPort |
State
Gets the state of the drawing object.
Declaration
public DragState State { get; }
Property Value
Type |
---|
DragState |
TargetPort
Gets or sets the targetport of the drawing object.
Declaration
public IPort TargetPort { get; set; }
Property Value
Type |
---|
IPort |