IGraphInternal
The internal diagram control API.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public interface IGraphInternal : IGraph, ISerializable, ISupportManipulation
Derived Classes:
Inherited Members
Properties
Gets the active connector.
IConnector ActiveConnector { get; }
Gets the connection bridge type.
BridgeType ConnectionBridge { get; set; }
Gets or sets whether the corners of the (polyline) connection are rounded.
bool ConnectionRoundedCorners { get; set; }
This property has only an effect when the ConnectionType is set to Polyline.
DiagramDataLayer DataLayer { get; }
Gets or sets whether this is an internal items change.
bool IsInternalItemsChange { get; set; }
Gets the segmentation.
ISegmentationService Segmentation { get; }
Gets the service locator.
IServiceLocator ServiceLocator { get; }
Methods
Gets the adorner part resolver.
Gets the diagram container for the given item.
Gets the diagram item from the given container.
object GetItemFromContainer(IDiagramItem container)
The container.
Returns:Gets the serialization info.
Returns all intersecting connections that are below or above the given one.
IList<IConnection> IntersectingConnections(IConnection connection, Rect? bounds = null)
The connection.
boundsRect?The bounds. If null the connection's Bounds are used.
Returns:IList<IConnection>
Publishes a diagram event to the diagram control.
bool PublishDiagramEvent(DiagramEvent diagramEvent, object args)
The diagram event.
argsobjectThe event argument.
Returns:Returns true if the event has been handled.
Raises the items changed event.
void RaiseItemsChangedEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Raises the items changing event.
bool RaiseItemsChangingEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Updates the adorners (manipulation adorner, group adorner, connector adorner...).
void UpdateAdorners()
Updates the rectangular selection (marching ants selector).
void UpdateRectSelection(Rect selectionRect)
The rectangle which represents the current selection area.
Updates the scrollbars.
void UpdateScrollbars()