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
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.
DataLayer
IsInternalItemsChange
Gets or sets whether this is an internal items change.
Declaration
bool IsInternalItemsChange { get; set; }
Property Value
System.Boolean
|
RouteConnections
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, Rect? bounds = default(Rect? ))
Parameters
IConnection
connection
The connection. |
System.Nullable<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. |
RaiseItemsChangedEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)
Raises the items changed event.
Declaration
void RaiseItemsChangedEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Parameters
System.Collections.Specialized.NotifyCollectionChangedAction
action
|
System.Collections.IEnumerable
newItems
|
System.Collections.IEnumerable
oldItems
|
RaiseItemsChangingEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)
Raises the items changing event.
Declaration
bool RaiseItemsChangingEvent(NotifyCollectionChangedAction action, IEnumerable newItems = null, IEnumerable oldItems = null)
Parameters
System.Collections.Specialized.NotifyCollectionChangedAction
action
|
System.Collections.IEnumerable
newItems
|
System.Collections.IEnumerable
oldItems
|
Returns
System.Boolean
|
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
Rect
selectionRect
The rectangle which represents the current selection area. |
UpdateScrollbars()
Updates the scrollbars.
Declaration
void UpdateScrollbars()