skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IGraphInternal

The internal diagram control API.

Inherited Members
IGraph.AddConnection(IShape, IShape, Boolean)
IGraph.AddConnection(IConnection, Boolean)
IGraph.AddConnection(Point, Point, Boolean)
IGraph.AddShape(IShape, Nullable<Point>, Boolean)
IGraph.RemoveShape(IShape, Boolean)
IGraph.RemoveConnection(IConnection, Boolean)
IGraph.Group(String, IGroupable[])
IGraph.Group(String, Boolean, IGroupable[])
IGraph.Ungroup(IGroup[])
IGraph.Ungroup(Boolean, IGroup[])
IGraph.BeginBatchTransformation()
IGraph.CommitBatchTransformation(DiagramLayoutState, DiagramLayoutState, Boolean, Boolean, LayoutType, Object)
IGraph.GraphSource
IGraph.Shapes
IGraph.Connections
IGraph.Groups
IGraph.Metadata
IGraph.Cursor
IGraph.IsVirtualizing
IGraph.IgnoreLinkDirection
IGraph.IsMouseCaptured
IGraph.Position
IGraph.Viewport
IGraph.Zoom
IGraph.SelectionMode
IGraph.IsBackgroundSurfaceVisible
IGraph.SnapX
IGraph.SnapY
IGraph.IsSnapToGridEnabled
IGraph.IsSnapToItemsEnabled
IGraph.IsEditable
IGraph.RectSelectionMode
IGraph.IsPanEnabled
IGraph.IsZoomEnabled
IGraph.Items
ISerializable.Serialize()
ISerializable.Deserialize(SerializationInfo)
ISupportManipulation.IsRotationEnabled
ISupportManipulation.IsResizingEnabled
ISupportManipulation.IsDraggingEnabled
ISupportManipulation.IsConnectorsManipulationEnabled
ISupportManipulation.IsManipulationAdornerVisible
ISupportManipulation.AllowDelete
ISupportManipulation.AllowCut
ISupportManipulation.AllowCopy
ISupportManipulation.AllowPaste
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll

Syntax

public interface IGraphInternal : IGraph, ISerializable, ISupportManipulation

Properties

ActiveConnector

Gets the active connector.

Declaration
IConnector ActiveConnector { get; }
Property Value
IConnector

ConnectionBridge

Gets the connection bridge type.

Declaration
BridgeType ConnectionBridge { get; set; }
Property Value
BridgeType

ConnectionRoundedCorners

Gets or sets whether the corners of the (polyline) connection are rounded.

Declaration
bool ConnectionRoundedCorners { get; set; }
Property Value
System.Boolean

Remarks

This property has only an effect when the ConnectionType is set to Polyline.

IsInternalItemsChange

Gets or sets whether this is an internal items change.

Declaration
bool IsInternalItemsChange { get; set; }
Property Value
System.Boolean

RouteConnections

Gets whether the Spline and Polyline connections will be automatically routed.

Declaration
bool RouteConnections { get; set; }
Property Value
System.Boolean

Remarks

Setting this property has no effect on other connection types.

Segmentation

Gets the segmentation.

Declaration
ISegmentationService Segmentation { get; }
Property Value
ISegmentationService

ServiceLocator

Gets the service locator.

Declaration
IServiceLocator ServiceLocator { get; }
Property Value
IServiceLocator

Methods

GetAdornerPartResolver()

Gets the adorner part resolver.

Declaration
IAdornerPartResolver GetAdornerPartResolver()
Returns
IAdornerPartResolver

GetContainerFromItem(Object)

Gets the diagram container for the given item.

Declaration
IDiagramItem GetContainerFromItem(object item)
Parameters
System.Object item

The item.

Returns
IDiagramItem

GetItemFromContainer(IDiagramItem)

Gets the diagram item from the given container.

Declaration
object GetItemFromContainer(IDiagramItem container)
Parameters
IDiagramItem container

The container.

Returns
System.Object

GetSerializationInfo()

Gets the serialization info.

Declaration
SerializationInfo GetSerializationInfo()
Returns
SerializationInfo

IntersectingConnections(IConnection, Nullable<Rect>)

Returns all intersecting connections that are below or above the given one.

Declaration
IList<IConnection> IntersectingConnections(IConnection connection, Nullable<Rect> bounds = null)
Parameters
IConnection connection

The connection.

System.Nullable<System.Windows.Rect> bounds

The bounds. If null the connection's Bounds are used.

Returns
System.Collections.Generic.IList<IConnection>

PublishDiagramEvent(DiagramEvent, Object)

Publishes a diagram event to the diagram control.

Declaration
bool PublishDiagramEvent(DiagramEvent diagramEvent, object args)
Parameters
DiagramEvent diagramEvent

The diagram event.

System.Object args

The event argument.

Returns
System.Boolean

Returns true if the event has been handled.

RaiseItemsChangingEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)

Raises the items changing event.

Declaration
void RaiseItemsChangingEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Parameters
System.Collections.Specialized.NotifyCollectionChangedAction action

System.Collections.IEnumerable newItems

System.Collections.IEnumerable oldItems

TransformPoint(Point)

Transforms the point to diagram's coordinate system..

Declaration
Point TransformPoint(Point point)
Parameters
System.Windows.Point point

The point.

Returns
System.Windows.Point

UpdateAdorners()

Updates the adorners (manipulation adorner, group adorner, connector adorner...).

Declaration
void UpdateAdorners()

UpdateRectSelection(Rect)

Updates the rectangular selection (marching ants selector).

Declaration
void UpdateRectSelection(Rect selectionRect)
Parameters
System.Windows.Rect selectionRect

The rectangle which represents the current selection area.

UpdateScrollbars()

Updates the scrollbars.

Declaration
void UpdateScrollbars()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
IGraphExtensions.CalculateEnclosingBounds(IGraph, Boolean, Boolean)
IGraphExtensions.DiagramItems(IGraph)
IGraphExtensions.GetConnectionsInSubGraph(IGraph, IEnumerable<IShape>)
IGraphExtensions.GetConnectionsForShape(IGraph, IShape)
IGraphExtensions.GetConnectionsForShapeRecursively(IGraph, IShape)
IGraphExtensions.GetIncomingConnectionsForShape(IGraph, IShape)
IGraphExtensions.GetOutgoingConnectionsForShape(IGraph, IShape)
SerializationExtensions.SetFromSerializationInfo(IGraphInternal, SerializationInfo)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.