Syncfusion.Diagram.Windows
Inheritance Hierarchy

Syncfusion.Windows.Forms.Diagram.Controls Namespace

Interactive two-dimensional graphics control for diagramming, technical drawing, visualization, simulation, and technical drawing applications. This control provides a surface for rendering and manipulating 2D shapes, symbols, text, and images. The user interface supports drag- and-drop, scaling, rotation, zooming, grouping, ungrouping, connection points, and many other features. Activating user-interface tools is a task commonly performed by applications using this control. A diagram is composed of three objects: the Model, View, Controller. The model-view-controller architecture provides a clear separation between data, visualization, and user interface. The model contains the data portion of the diagram, the view is responsible for rendering the diagram, and the controller handles user interaction. The model, view, and controller are accessible as properties in this control and can be manipulated directly. Some of the methods and properties in this class are just wrappers that call identical methods in the model, view, or controller. For example, the following two lines of codes are equivalent: diagram.Undo(); Same as diagram.Controller.Undo(); This control provides the converter(Diagram Document Converter) returns whether this converter can convert the object to the specified type, using the specified context. Graphical objects can be added to a diagram in several ways. One way is through drag-and-drop. Symbols can be dragged from a paletteGroup view onto the diagram. Objects can also be added from the clipboard using the paste(). method. Shapes can be drawn onto the diagram by activating one of several drawing tools such as the rectangle tool. Objects can also be created programmatically and added to the diagram by calling the appendchid method. Objects can be displayed and editied in the diagram through property editor control. This provides a control(Overview Control) implements an overview window that provides a perspective view of the diagram model.The OverviewControl is initialized with a diagram model and a view, and upon display renders a view of the diagram that is scaled to the control's bounds.The viewport's origin corresponds to the origin of the diagram's view and moving the viewport will shift the view's origin by an equivalent extent. This control provides an interactive platform print set up consists of header and footer features and page set up control provides options to modify the page height, width and orientation while printing the document The History manager control is used to record the actions performed during diagramming.By calling the HistoryManager.Undo() method removes the command on the top of the undo stack and causes an undo to occur. The HistoryManager.Redo() method will redo the last command that was removed from the undo stack. The UndoCommand and RedoCommand methods are usually called in response to clicking Undo and Redo on the Edit menu. One advantage of the model-view-controller architecture is that the parts are interchangeable . Models, views, and controllers can be swapped in and out independently. For example, the user interface of the diagram can be completely replaced by swapping in a different controller implementation.
Classes
 ClassDescription
Class Interactive two-dimensional graphics control for diagramming, technical drawing, visualization, simulation, and technical drawing applications.
Class Diagram designer.
Class Type converter for a DiagramDocument.
Class This class implements a design-time editor for opening a file containing a diagram document.
Class This control is used to list all the nodes added the diagram model in a tree fashion. Its in-built contextmenu provides options to hide, rename, delete a node from the collection. It also provides support to add layers and delete or rename a layer through its context menu.
Class LayOutDialog form.
Class Event argument class for events associated with symbol models loaded in a PaletteGroupBar object.
Class

The OverviewControl class implements an overview window that provides a perspective view of the diagram model. The OverviewControl is initialized with a diagram model and a view, and upon display renders a view of the diagram that is scaled to the control's bounds.

The control has a Viewport window that is positioned over the diagram display and can be moved and / or resized using the mouse to dynamically change the view transform that maps the diagram's world coordinates onto the view coordinates. The viewport's origin corresponds to the origin of the diagram's view and moving the viewport will shift the view's origin by an equivalent extent. The viewport's size is proportional to the view's magnification and resizing the viewport allows the view to be zoomed in and out.

Class Form used to prompt the user for the name of new symbol palettes.
Class Displays a collection of symbol palettes that the symbol models contain in a GroupBar control.
Class Displays the symbol models belonging to a symbol palette in a GroupView.
Class GroupViewItem derived class representing a symbol model in a group view.
Class Using to customize action list.
Class Palette GroupView designer.
Class Filter GroupViewPaletteItem properties to display in property grid. Show only properties marked with PalettePropertyAttribute.
Class This class implements a design-time editor for opening a file containing a symbol palette.
Class Specifies whether a property is symbol model's property.
Class This control displays and edits properties of objects in a m_diagram.
Class Type converter for a SymbolPalette.
Class Viewport renderer.
Delegates
 DelegateDescription
Delegate Diagram initialized event handler delegate
Delegate Delegate for events associated with symbol models loaded in a PaletteGroupBar object.
Enumerations
 EnumerationDescription
Enumeration 
Enumeration Node Layout styles
Enumeration Rectangle marker
Enumeration Used to indicate the direction for a spacing command.
Enumeration Four direction of tree where value indicate angle, and angle start from TopToBottom by clockwise.
See Also