Interface IGraphInternal
The internal diagram control API.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public interface IGraphInternal : IGraph, ISerializable, ISupportManipulation
Properties
ActiveConnector
Gets the active connector.
Declaration
IConnector ActiveConnector { get; }
Property Value
ConnectionBridge
Gets the connection bridge type.
Declaration
BridgeType ConnectionBridge { get; set; }
Property Value
ConnectionRoundedCorners
Gets or sets whether the corners of the (polyline) connection are rounded.
Declaration
bool ConnectionRoundedCorners { get; set; }
Property Value
System.
|
Remarks
This property has only an effect when the Connection
DataLayer
IsInternalItemsChange
Gets or sets whether this is an internal items change.
Declaration
bool IsInternalItemsChange { get; set; }
Property Value
System.
|
RouteConnections
Declaration
bool RouteConnections { get; set; }
Property Value
System.
|
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
System. The item. |
Returns
GetItemFromContainer(IDiagramItem)
Gets the diagram item from the given container.
Declaration
object GetItemFromContainer(IDiagramItem container)
Parameters
IDiagram The container. |
Returns
System.
|
GetSerializationInfo()
Gets the serialization info.
Declaration
SerializationInfo GetSerializationInfo()
Returns
IntersectingConnections(IConnection, Nullable<Rect>)
Returns all intersecting connections that are below or above the given one.
Declaration
IList<IConnection> IntersectingConnections(IConnection connection, Rect? bounds = default(Rect? ))
Parameters
IConnection
connection
The connection. |
System. The bounds. If null the connection's Bounds are used. |
Returns
System.
|
PublishDiagramEvent(DiagramEvent, Object)
Publishes a diagram event to the diagram control.
Declaration
bool PublishDiagramEvent(DiagramEvent diagramEvent, object args)
Parameters
Diagram The diagram event. |
System. The event argument. |
Returns
System. Returns true if the event has been handled. |
RaiseItemsChangedEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)
Raises the items changed event.
Declaration
void RaiseItemsChangedEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Parameters
System.
|
System.
|
System.
|
RaiseItemsChangingEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)
Raises the items changing event.
Declaration
bool RaiseItemsChangingEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
TransformPoint(Point)
Transforms the point to diagram's coordinate system..
Declaration
Point TransformPoint(Point point)
Parameters
Point
point
The point. |
Returns
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
Rect
selectionRect
The rectangle which represents the current selection area. |
UpdateScrollbars()
Updates the scrollbars.
Declaration
void UpdateScrollbars()