menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfDiagram - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfDiagram

    Diagram class.

    Inheritance
    System.Object
    SfDiagram
    Implements
    System.IDisposable
    Namespace: Syncfusion.SfDiagram.Android
    Assembly: Syncfusion.SfDiagram.Android.dll
    Syntax
    public class SfDiagram : FrameLayout, IDisposable

    Constructors

    SfDiagram(Context)

    Initializes a new instance of the SfDiagram class.

    Declaration
    public SfDiagram(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    Represents the current context.

    SfDiagram(Context, IAttributeSet)

    Initializes a new instance of the SfDiagram class.

    Declaration
    public SfDiagram(Context context, IAttributeSet attrs)
    Parameters
    Type Name Description
    Android.Content.Context context

    Represents the current context.

    Android.Util.IAttributeSet attrs

    Represents the current attributeSet.

    SfDiagram(Context, DiagramStyleSettings)

    Initializes a new instance of the SfDiagram class.

    Declaration
    public SfDiagram(Context context, DiagramStyleSettings defaultStyleProperties)
    Parameters
    Type Name Description
    Android.Content.Context context

    Represents the current context.

    DiagramStyleSettings defaultStyleProperties

    Represents the current DefaultStyleProperties.

    Properties

    BackgroundColor

    Gets or sets the background color of the Diagram.

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    Connectors

    Gets or sets the connector collection from diagram.

    Declaration
    public ConnectorCollection Connectors { get; set; }
    Property Value
    Type Description
    ConnectorCollection

    diagram Connector collection.

    ContextMenuSettings

    Gets the Context Menu settings.

    Declaration
    public ContextMenuSettings ContextMenuSettings { get; }
    Property Value
    Type Description
    ContextMenuSettings

    The Context Menu settings.

    DataSourceSettings

    Gets or sets the DataSourceSettings of the Diagram.

    Declaration
    public DataSourceSettings DataSourceSettings { get; set; }
    Property Value
    Type Description
    DataSourceSettings

    DataSource for layout.

    DrawingMode

    Gets or sets DrawingMode.

    Declaration
    public DrawingMode DrawingMode { get; set; }
    Property Value
    Type
    DrawingMode

    EnableAutoScroll

    Gets or sets a value indicating whether this SfDiagram is dragging enabled.

    Declaration
    public bool EnableAutoScroll { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is dragging enabled; otherwise, false.

    EnableDrag

    Gets or sets a value indicating whether this SfDiagram is dragging enabled.

    Declaration
    public bool EnableDrag { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is dragging enabled; otherwise, false.

    EnableResize

    Gets or sets a value indicating whether this SfDiagram is resizing enabled.

    Declaration
    public bool EnableResize { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is resizing enabled; otherwise, false.

    EnableRotation

    Gets or sets a value indicating whether this SfDiagram is rotation enabled.

    Declaration
    public bool EnableRotation { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is rotation enabled; otherwise, false.

    EnableSelection

    Gets or sets a value indicating whether this SfDiagram enable selectors.

    Declaration
    public bool EnableSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if enable selectors; otherwise, false.

    EnableTextEditing

    Gets or sets a value indicating whether this SfDiagram is text editing enabled.

    Declaration
    public bool EnableTextEditing { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is text editing enabled; otherwise, false.

    EnableVirtualization

    Gets or sets a value indicating whether virtualization needs to enable or not.

    Declaration
    public bool EnableVirtualization { get; set; }
    Property Value
    Type
    System.Boolean

    EnableZoomAndPan

    Gets or sets a value indicating whether this SfDiagram is enable zoom and pan.

    Declaration
    public bool EnableZoomAndPan { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is enable zoom and pan; otherwise, false.

    Height

    Gets or sets the Height of the SfDiagram.

    Declaration
    public int Height { get; set; }
    Property Value
    Type
    System.Int32

    IsReadOnly

    Gets or sets a value indicating whether this SfDiagram is IsReadOnly enabled.

    Declaration
    public bool IsReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is IsReadonly enabled; otherwise, false.

    LayoutManager

    Gets or sets the LayoutManager of the SfDiagram.

    Declaration
    public LayoutManager LayoutManager { get; set; }
    Property Value
    Type Description
    LayoutManager

    Layout the diagram node and connectors.

    MaximumZoomFactor

    Gets or sets the maximum zoom factor.

    Declaration
    public float MaximumZoomFactor { get; set; }
    Property Value
    Type Description
    System.Single

    The maximum zoom factor.

    MinimumZoomFactor

    Gets or sets the minimum zoom factor.

    Declaration
    public float MinimumZoomFactor { get; set; }
    Property Value
    Type Description
    System.Single

    The minimum zoom factor.

    Nodes

    Gets or sets the Node collection of the Diagram.

    Declaration
    public NodeCollection Nodes { get; set; }
    Property Value
    Type Description
    NodeCollection

    diagram Node collection.

    OverviewPanel

    Gets or sets the Overview.

    Declaration
    public OverviewPanel OverviewPanel { get; set; }
    Property Value
    Type Description
    OverviewPanel

    Stencil for diagram.

    PageSettings

    Gets the page settings.

    Declaration
    public PageSettings PageSettings { get; }
    Property Value
    Type Description
    PageSettings

    The page settings.

    ScrollSettings

    Gets or sets the scroll settings.

    Declaration
    public ScrollSettings ScrollSettings { get; set; }
    Property Value
    Type Description
    ScrollSettings

    The scroll settings.

    SelectedItems

    Gets Selected Item.

    Declaration
    public IList<DiagramBaseItem> SelectedItems { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<DiagramBaseItem>

    selected Items in diagram.

    Stencil

    Gets or sets the stencil.

    Declaration
    public Stencil Stencil { get; set; }
    Property Value
    Type Description
    Stencil

    Stencil for diagram.

    UserHandles

    Gets or sets the User Handle Collections.

    Declaration
    public UserHandleCollection UserHandles { get; set; }
    Property Value
    Type
    UserHandleCollection

    Width

    Gets or sets the Width of the SfDiagram.

    Declaration
    public int Width { get; set; }
    Property Value
    Type
    System.Int32

    ZoomFactor

    Gets or sets the Zoom Factor Value.

    Declaration
    public float ZoomFactor { get; set; }
    Property Value
    Type
    System.Single

    Methods

    add_BeginNodeLayout(BeginNodeLayoutEventHandler)

    Declaration
    public void add_BeginNodeLayout(BeginNodeLayoutEventHandler value)
    Parameters
    Type Name Description
    BeginNodeLayoutEventHandler value

    add_BeginNodeRender(BeginNodeRenderEventHandler)

    Declaration
    public void add_BeginNodeRender(BeginNodeRenderEventHandler value)
    Parameters
    Type Name Description
    BeginNodeRenderEventHandler value

    add_Clicked(DiagramClickedEventHandler)

    Declaration
    public void add_Clicked(DiagramClickedEventHandler value)
    Parameters
    Type Name Description
    DiagramClickedEventHandler value

    add_ConnectorClicked(ConnectorClickEventHandler)

    Declaration
    public void add_ConnectorClicked(ConnectorClickEventHandler value)
    Parameters
    Type Name Description
    ConnectorClickEventHandler value

    add_DiagramObjectDeleted(DiagramObjectDeletedEventHandler)

    Declaration
    public void add_DiagramObjectDeleted(DiagramObjectDeletedEventHandler value)
    Parameters
    Type Name Description
    DiagramObjectDeletedEventHandler value

    add_DiagramObjectDropped(DiagramObjectDroppedEventHandler)

    Declaration
    public void add_DiagramObjectDropped(DiagramObjectDroppedEventHandler value)
    Parameters
    Type Name Description
    DiagramObjectDroppedEventHandler value

    add_DragEnd(DragEndEventHandler)

    Declaration
    public void add_DragEnd(DragEndEventHandler value)
    Parameters
    Type Name Description
    DragEndEventHandler value

    add_ItemAdded(ItemAddedEventHandler)

    Declaration
    public void add_ItemAdded(ItemAddedEventHandler value)
    Parameters
    Type Name Description
    ItemAddedEventHandler value

    add_ItemLongPressed(ItemLongPressedEventHandler)

    Declaration
    public void add_ItemLongPressed(ItemLongPressedEventHandler value)
    Parameters
    Type Name Description
    ItemLongPressedEventHandler value

    add_Loaded(DiagramLoadedEventHandler)

    Declaration
    public void add_Loaded(DiagramLoadedEventHandler value)
    Parameters
    Type Name Description
    DiagramLoadedEventHandler value

    add_NodeClicked(NodeClickEventHandler)

    Declaration
    public void add_NodeClicked(NodeClickEventHandler value)
    Parameters
    Type Name Description
    NodeClickEventHandler value

    add_OnTextEdit(OnTextEditEventHandler)

    Declaration
    public void add_OnTextEdit(OnTextEditEventHandler value)
    Parameters
    Type Name Description
    OnTextEditEventHandler value

    add_ResizeEnd(ResizeEndEventHandler)

    Declaration
    public void add_ResizeEnd(ResizeEndEventHandler value)
    Parameters
    Type Name Description
    ResizeEndEventHandler value

    add_RotateEnd(RotateEndEventHandler)

    Declaration
    public void add_RotateEnd(RotateEndEventHandler value)
    Parameters
    Type Name Description
    RotateEndEventHandler value

    add_SymbolGroupExpandCollapse(SymbolGroupExpandCollapseEventHandler)

    Declaration
    public void add_SymbolGroupExpandCollapse(SymbolGroupExpandCollapseEventHandler value)
    Parameters
    Type Name Description
    SymbolGroupExpandCollapseEventHandler value

    add_TextChanged(TextChangedEventHandler)

    Declaration
    public void add_TextChanged(TextChangedEventHandler value)
    Parameters
    Type Name Description
    TextChangedEventHandler value

    add_UserHandleClicked(UserHandleClickedEventHandler)

    Declaration
    public void add_UserHandleClicked(UserHandleClickedEventHandler value)
    Parameters
    Type Name Description
    UserHandleClickedEventHandler value

    AddConnector(Connector)

    Add the Connector to the diagram view.

    Declaration
    public void AddConnector(Connector connector)
    Parameters
    Type Name Description
    Connector connector

    connector value.

    AddNode(Node)

    Add the Node to the diagram view.

    Declaration
    public void AddNode(Node node)
    Parameters
    Type Name Description
    Node node

    Add the node to diagram.

    BringForward()

    Bring Forward if the selected instance is intersects with other instance.

    Declaration
    public void BringForward()

    BringToFront()

    Bring Front the selected instance.

    Declaration
    public void BringToFront()

    BringToView(DiagramBaseItem)

    Brings to view.

    Declaration
    public void BringToView(DiagramBaseItem obj)
    Parameters
    Type Name Description
    DiagramBaseItem obj

    the Object.

    Clear()

    Clears NodeCollection and Connector Collection from Diagram.

    Declaration
    public void Clear()

    ClearSelection()

    Clear the selection of diagram object.

    Declaration
    public void ClearSelection()

    Copy()

    Copy the selected instance.

    Declaration
    public void Copy()

    Cut()

    Cut the selected instance.

    Declaration
    public void Cut()

    Delete()

    Delete the selected instance.

    Declaration
    public void Delete()

    Dispose()

    Add the dispose method.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Add dispose method.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    pass disposing boolean value.

    GetItemByName(String)

    Get Diagram Items By Name.

    Declaration
    public DiagramBaseItem GetItemByName(string item)
    Parameters
    Type Name Description
    System.String item

    get The diagram item by name.

    Returns
    Type Description
    DiagramBaseItem

    diagram base item.

    Load(String)

    Loads the JSON saved file into Diagram.

    Declaration
    public void Load(string json)
    Parameters
    Type Name Description
    System.String json

    string value.

    OnLayout(Boolean, Int32, Int32, Int32, Int32)

    Override method for diagram view.

    Declaration
    protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.Boolean changed

    layout are changed or not.

    System.Int32 left

    left value of layout.

    System.Int32 top

    top value of layout.

    System.Int32 right

    right value of layout.

    System.Int32 bottom

    bottom value of layout.

    Paste()

    Paste the selected instance.

    Declaration
    public void Paste()

    Redo()

    Redo the selected instance.

    Declaration
    public void Redo()

    remove_BeginNodeLayout(BeginNodeLayoutEventHandler)

    Declaration
    public void remove_BeginNodeLayout(BeginNodeLayoutEventHandler value)
    Parameters
    Type Name Description
    BeginNodeLayoutEventHandler value

    remove_BeginNodeRender(BeginNodeRenderEventHandler)

    Declaration
    public void remove_BeginNodeRender(BeginNodeRenderEventHandler value)
    Parameters
    Type Name Description
    BeginNodeRenderEventHandler value

    remove_Clicked(DiagramClickedEventHandler)

    Declaration
    public void remove_Clicked(DiagramClickedEventHandler value)
    Parameters
    Type Name Description
    DiagramClickedEventHandler value

    remove_ConnectorClicked(ConnectorClickEventHandler)

    Declaration
    public void remove_ConnectorClicked(ConnectorClickEventHandler value)
    Parameters
    Type Name Description
    ConnectorClickEventHandler value

    remove_DiagramObjectDeleted(DiagramObjectDeletedEventHandler)

    Declaration
    public void remove_DiagramObjectDeleted(DiagramObjectDeletedEventHandler value)
    Parameters
    Type Name Description
    DiagramObjectDeletedEventHandler value

    remove_DiagramObjectDropped(DiagramObjectDroppedEventHandler)

    Declaration
    public void remove_DiagramObjectDropped(DiagramObjectDroppedEventHandler value)
    Parameters
    Type Name Description
    DiagramObjectDroppedEventHandler value

    remove_DragEnd(DragEndEventHandler)

    Declaration
    public void remove_DragEnd(DragEndEventHandler value)
    Parameters
    Type Name Description
    DragEndEventHandler value

    remove_ItemAdded(ItemAddedEventHandler)

    Declaration
    public void remove_ItemAdded(ItemAddedEventHandler value)
    Parameters
    Type Name Description
    ItemAddedEventHandler value

    remove_ItemLongPressed(ItemLongPressedEventHandler)

    Declaration
    public void remove_ItemLongPressed(ItemLongPressedEventHandler value)
    Parameters
    Type Name Description
    ItemLongPressedEventHandler value

    remove_Loaded(DiagramLoadedEventHandler)

    Declaration
    public void remove_Loaded(DiagramLoadedEventHandler value)
    Parameters
    Type Name Description
    DiagramLoadedEventHandler value

    remove_NodeClicked(NodeClickEventHandler)

    Declaration
    public void remove_NodeClicked(NodeClickEventHandler value)
    Parameters
    Type Name Description
    NodeClickEventHandler value

    remove_OnTextEdit(OnTextEditEventHandler)

    Declaration
    public void remove_OnTextEdit(OnTextEditEventHandler value)
    Parameters
    Type Name Description
    OnTextEditEventHandler value

    remove_ResizeEnd(ResizeEndEventHandler)

    Declaration
    public void remove_ResizeEnd(ResizeEndEventHandler value)
    Parameters
    Type Name Description
    ResizeEndEventHandler value

    remove_RotateEnd(RotateEndEventHandler)

    Declaration
    public void remove_RotateEnd(RotateEndEventHandler value)
    Parameters
    Type Name Description
    RotateEndEventHandler value

    remove_SymbolGroupExpandCollapse(SymbolGroupExpandCollapseEventHandler)

    Declaration
    public void remove_SymbolGroupExpandCollapse(SymbolGroupExpandCollapseEventHandler value)
    Parameters
    Type Name Description
    SymbolGroupExpandCollapseEventHandler value

    remove_TextChanged(TextChangedEventHandler)

    Declaration
    public void remove_TextChanged(TextChangedEventHandler value)
    Parameters
    Type Name Description
    TextChangedEventHandler value

    remove_UserHandleClicked(UserHandleClickedEventHandler)

    Declaration
    public void remove_UserHandleClicked(UserHandleClickedEventHandler value)
    Parameters
    Type Name Description
    UserHandleClickedEventHandler value

    RemoveConnector(Connector)

    Remove the Connector from the diagram view.

    Declaration
    public void RemoveConnector(Connector connector)
    Parameters
    Type Name Description
    Connector connector

    connector value.

    RemoveNode(Node)

    Removes the node.

    Declaration
    public void RemoveNode(Node node)
    Parameters
    Type Name Description
    Node node

    Remove the Node from diagram.

    RemoveNode(Node, Boolean)

    Removes the node.

    Declaration
    public void RemoveNode(Node node, bool removeAllChildrens)
    Parameters
    Type Name Description
    Node node

    Remove the Node from diagram.

    System.Boolean removeAllChildrens

    Enable or disable remove all children.

    SaveAsImage()

    Save the SfDiagram into image. It�s using default format. File Name - it�s generated automatically by using the Current Date and Time.

    Declaration
    public void SaveAsImage()

    SaveAsImage(ImageFormat)

    Save the diagram as image in specific format.

    Declaration
    public void SaveAsImage(ImageFormat imageFormat)
    Parameters
    Type Name Description
    ImageFormat imageFormat

    Save image in provided format.

    SaveAsImage(ImageFormat, Int32)

    Save the diagram as image in specific format.

    Declaration
    public void SaveAsImage(ImageFormat imageFormat, int padding)
    Parameters
    Type Name Description
    ImageFormat imageFormat

    Save image in provided format.

    System.Int32 padding

    Padding for the diagram in image.

    SaveAsImage(ImageFormat, Int32, Int32, Int32, Int32)

    Save the diagram as image in specific format.

    Declaration
    public void SaveAsImage(ImageFormat imageFormat, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    ImageFormat imageFormat

    Save image in provided format.

    System.Int32 left

    left value of padding.

    System.Int32 top

    top value of padding.

    System.Int32 right

    right value of padding.

    System.Int32 bottom

    bottom value of padding.

    SaveAsImage(Int32)

    Save the Diagram into image. It's using default format. File Name - it's generated automatically by using the Current Date and Time.

    Declaration
    public void SaveAsImage(int padding)
    Parameters
    Type Name Description
    System.Int32 padding

    Padding for the diagram in the image.

    SaveAsImage(Int32, Int32, Int32, Int32)

    Save the SfDiagram into image. It's using default format. File Name - it's generated automatically by using the Current Date and Time.

    Declaration
    public void SaveAsImage(int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.Int32 left

    left value of padding.

    System.Int32 top

    top value of padding.

    System.Int32 right

    right value of padding.

    System.Int32 bottom

    bottom value of padding.

    SaveAsImage(Stream)

    Save the sfDiagram as image in given Stream.

    Declaration
    public void SaveAsImage(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    stream value.

    SaveAsImage(Stream, ImageFormat)

    Save the sfDiagram as image in given Stream and given format.

    Declaration
    public void SaveAsImage(Stream stream, ImageFormat imageFormat)
    Parameters
    Type Name Description
    System.IO.Stream stream

    To pass stream.

    ImageFormat imageFormat

    To save image as stream in specified format.

    SaveAsImage(Stream, ImageFormat, Int32)

    Save the sfDiagram as image in given Stream and given format.

    Declaration
    public void SaveAsImage(Stream stream, ImageFormat imageFormat, int padding)
    Parameters
    Type Name Description
    System.IO.Stream stream

    To pass stream.

    ImageFormat imageFormat

    To save image as stream in specified format.

    System.Int32 padding

    Padding for the diagram in image.

    SaveAsImage(Stream, ImageFormat, Int32, Int32, Int32, Int32)

    Save the Diagram as image in given Stream and given format.

    Declaration
    public void SaveAsImage(Stream stream, ImageFormat imageFormat, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.IO.Stream stream

    To pass stream.

    ImageFormat imageFormat

    To save image as stream in specified format.

    System.Int32 left

    left value.

    System.Int32 top

    top value.

    System.Int32 right

    right value.

    System.Int32 bottom

    bottom value.

    SaveAsImage(Stream, Int32)

    Save the sfDiagram as image in given Stream.

    Declaration
    public void SaveAsImage(Stream stream, int padding)
    Parameters
    Type Name Description
    System.IO.Stream stream

    stream value.

    System.Int32 padding

    Padding for the diagram in image.

    SaveAsImage(Stream, Int32, Int32, Int32, Int32)

    Save the sfDiagram as image in given Stream.

    Declaration
    public void SaveAsImage(Stream stream, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.IO.Stream stream

    stream value.

    System.Int32 left

    left value of padding.

    System.Int32 top

    top value of padding.

    System.Int32 right

    right value of padding.

    System.Int32 bottom

    bottom value of padding.

    SaveAsImage(String)

    Save the diagram as image by using default format.

    Declaration
    public void SaveAsImage(string fileName)
    Parameters
    Type Name Description
    System.String fileName

    Save image in provided file name.

    SaveAsImage(String, Int32)

    Save the diagram as image by using default format.

    Declaration
    public void SaveAsImage(string fileName, int padding)
    Parameters
    Type Name Description
    System.String fileName

    Save image in provided file name.

    System.Int32 padding

    Padding for the diagram in the image.

    SaveAsImage(String, Int32, Int32, Int32, Int32)

    Save the diagram as image by using default format.

    Declaration
    public void SaveAsImage(string fileName, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.String fileName

    Save image in provided file name.

    System.Int32 left

    left value of padding.

    System.Int32 top

    top value of padding.

    System.Int32 right

    right value of padding.

    System.Int32 bottom

    bottom value of padding.

    SaveAsJson()

    Save diagram as JSON data.

    Declaration
    public string SaveAsJson()
    Returns
    Type Description
    System.String

    Save the diagram in JSON format.

    Select(DiagramBaseItem)

    select the diagram object.

    Declaration
    public void Select(DiagramBaseItem baseItem)
    Parameters
    Type Name Description
    DiagramBaseItem baseItem

    node or connector .

    SendBackward()

    Send Backward if the selected instance is intersects with other instance.

    Declaration
    public void SendBackward()

    SendToBack()

    Send Back the selected instance.

    Declaration
    public void SendToBack()

    ShowSelectorHandle(Boolean, SelectorPosition)

    Update the selector position and visibility.

    Declaration
    public void ShowSelectorHandle(bool visible, SelectorPosition position)
    Parameters
    Type Name Description
    System.Boolean visible

    selector visible.

    SelectorPosition position

    selector position.

    Undo()

    Undo the selected instance.

    Declaration
    public void Undo()

    Events

    BeginNodeLayout

    Occurs when Layout changed.

    Declaration
    public event BeginNodeLayoutEventHandler BeginNodeLayout
    Event Type
    Type
    BeginNodeLayoutEventHandler

    BeginNodeRender

    Occurs when property changed.

    Declaration
    public event BeginNodeRenderEventHandler BeginNodeRender
    Event Type
    Type
    BeginNodeRenderEventHandler

    Clicked

    Occurs when diagram clicked.

    Declaration
    public event DiagramClickedEventHandler Clicked
    Event Type
    Type
    DiagramClickedEventHandler

    ConnectorClicked

    Occurs when connector clicked.

    Declaration
    public event ConnectorClickEventHandler ConnectorClicked
    Event Type
    Type
    ConnectorClickEventHandler

    DiagramObjectDeleted

    Occurs when diagram object deleted.

    Declaration
    public event DiagramObjectDeletedEventHandler DiagramObjectDeleted
    Event Type
    Type
    DiagramObjectDeletedEventHandler

    DiagramObjectDropped

    Occurs when diagram object dropped.

    Declaration
    public event DiagramObjectDroppedEventHandler DiagramObjectDropped
    Event Type
    Type
    DiagramObjectDroppedEventHandler

    DragEnd

    Occurs when object dragging end.

    Declaration
    public event DragEndEventHandler DragEnd
    Event Type
    Type
    DragEndEventHandler

    EndNodeLayout

    /// Occurs when Layout ended.

    Declaration
    public event EventHandler<EventArgs> EndNodeLayout
    Event Type
    Type
    System.EventHandler<System.EventArgs>

    ItemAdded

    Occurs when object added.

    Declaration
    public event ItemAddedEventHandler ItemAdded
    Event Type
    Type
    ItemAddedEventHandler

    ItemLongPressed

    Occurs when item long pressed.

    Declaration
    public event ItemLongPressedEventHandler ItemLongPressed
    Event Type
    Type
    ItemLongPressedEventHandler

    LayoutNodeDropped

    Occurs when Drag and drop the node in layout.

    Declaration
    public event EventHandler<LayoutNodeDroppedEventArgs> LayoutNodeDropped
    Event Type
    Type
    System.EventHandler<LayoutNodeDroppedEventArgs>

    Loaded

    Occurs when diagram loaded.

    Declaration
    public event DiagramLoadedEventHandler Loaded
    Event Type
    Type
    DiagramLoadedEventHandler

    NodeClicked

    Occurs when node clicked.

    Declaration
    public event NodeClickEventHandler NodeClicked
    Event Type
    Type
    NodeClickEventHandler

    OnTextEdit

    Occurs when on text edit.

    Declaration
    public event OnTextEditEventHandler OnTextEdit
    Event Type
    Type
    OnTextEditEventHandler

    ResizeEnd

    Occurs when object resize dragging end.

    Declaration
    public event ResizeEndEventHandler ResizeEnd
    Event Type
    Type
    ResizeEndEventHandler

    RotateEnd

    Occurs when Node rotate dragging end.

    Declaration
    public event RotateEndEventHandler RotateEnd
    Event Type
    Type
    RotateEndEventHandler

    SymbolGroupExpandCollapse

    Occurs when symbol group expand collapse.

    Declaration
    public event SymbolGroupExpandCollapseEventHandler SymbolGroupExpandCollapse
    Event Type
    Type
    SymbolGroupExpandCollapseEventHandler

    TextChanged

    Occurs when text changed.

    Declaration
    public event TextChangedEventHandler TextChanged
    Event Type
    Type
    TextChangedEventHandler

    UserHandleClicked

    Occurs when user handle clicked

    Declaration
    public event UserHandleClickedEventHandler UserHandleClicked
    Event Type
    Type
    UserHandleClickedEventHandler

    ZoomEnd

    Occurs when diagram zoomed.

    Declaration
    public event EventHandler<ZoomEndEventArgs> ZoomEnd
    Event Type
    Type
    System.EventHandler<ZoomEndEventArgs>

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved