InterfaceIGraphInternal
The internal diagram control API.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public interface IGraphInternal : IGraph, ISerializable, ISupportManipulation
Inherited Members
Properties
ActiveConnector
Gets the active connector.
ConnectionBridge
Gets the connection bridge type.
ConnectionRoundedCorners
Gets or sets whether the corners of the (polyline) connection are rounded.
Declaration
bool ConnectionRoundedCorners { get; set; }
Property Value
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.
RouteConnections
Declaration
bool RouteConnections { get; set; }
Property Value
Remarks
Setting this property has no effect on other connection types.
Segmentation
Gets the segmentation.
Declaration
ISegmentationService Segmentation { get; }
Property Value
ServiceLocator
Gets the service locator.
Declaration
IServiceLocator ServiceLocator { get; }
Property Value
Methods
GetAdornerPartResolver()
Gets the adorner part resolver.
Declaration
IAdornerPartResolver GetAdornerPartResolver()
Returns
GetContainerFromItem(object)
Gets the diagram container for the given item.
Declaration
IDiagramItem GetContainerFromItem(object item)
Parameters
item
The item.
Returns
GetItemFromContainer(IDiagramItem)
Gets the diagram item from the given container.
Declaration
object GetItemFromContainer(IDiagramItem container)
Parameters
container
The container.
Returns
GetSerializationInfo()
Gets the serialization info.
IntersectingConnections(IConnection, Rect?)
Returns all intersecting connections that are below or above the given one.
Declaration
IList<IConnection> IntersectingConnections(IConnection connection, Rect? bounds = null)
Parameters
connection
The connection.
bounds
Rect?
The bounds. If null the connection's Bounds are used.
Returns
PublishDiagramEvent(DiagramEvent, object)
Publishes a diagram event to the diagram control.
Declaration
bool PublishDiagramEvent(DiagramEvent diagramEvent, object args)
Parameters
diagramEvent
The diagram event.
args
The event argument.
Returns
Returns true if the event has been handled.
RaiseItemsChangingEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)
Raises the items changing event.
Declaration
[SuppressMessage("Microsoft.Design", "CA1030:UseEventsWhereApproapriate")]
void RaiseItemsChangingEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Parameters
action
newItems
oldItems
TransformPoint(Point)
Transforms the point to diagram's coordinate system..
Declaration
Point TransformPoint(Point point)
Parameters
point
Point
The point.
Returns
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
selectionRect
Rect
The rectangle which represents the current selection area.