RadDiagramShapeBase
Abstract base implementation of the IShape interface.
Definition
Namespace:Telerik.Windows.Controls.Diagrams
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
public abstract class RadDiagramShapeBase : RadDiagramItem, IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation
Inheritance: objectRadDiagramItemRadDiagramShapeBase
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadDiagramShapeBase class.
protected RadDiagramShapeBase()
Fields
ConnectorsProperty
DependencyProperty
Identifies the ConnectorsProperty dependency property.
public static readonly DependencyProperty ConnectorsProperty
ConnectorStyleProperty
DependencyProperty
Identifies the ConnectorStyle dependency property.
public static readonly DependencyProperty ConnectorStyleProperty
GlidingStyleProperty
DependencyProperty
Identifies the GlidingStyle dependency property.
public static readonly DependencyProperty GlidingStyleProperty
IsActiveConnectionInsideProperty
DependencyProperty
Identifies the IsActiveConnectionInside dependency property.
public static readonly DependencyProperty IsActiveConnectionInsideProperty
RotationAngleProperty
DependencyProperty
Identifies the RotationAngle dependency property.
public static readonly DependencyProperty RotationAngleProperty
UseDefaultConnectorsProperty
DependencyProperty
Identifies the UseDefaultConnectors dependency property.
public static readonly DependencyProperty UseDefaultConnectorsProperty
UseGlidingConnectorProperty
DependencyProperty
Identifies the UseGlidingConnector dependency property.
public static readonly DependencyProperty UseGlidingConnectorProperty
Properties
ActualBounds
Rect
Gets the actual bounds.
public Rect ActualBounds { get; }
Implements:
Gets the connectors of this shape.
public ConnectorCollection Connectors { get; }
Implements:
ConnectorStyle
Style
Gets or sets the connector style.
public Style ConnectorStyle { get; set; }
The connector style.
Gets or sets the style of outline the gliding connection should follow.
public GlidingStyle GlidingStyle { get; set; }
This property has only an effect if the UseGlidingConnector is set to true.
Gets the incoming links.
public IEnumerable<IConnection> IncomingLinks { get; }
The incoming links.
Implements:
Gets the outgoing links.
public IEnumerable<IConnection> OutgoingLinks { get; }
The outgoing links.
Implements:
Gets or sets the rotation angle.
public double RotationAngle { get; set; }
The rotation angle.
Implements:
Transform
TransformGroup
Gets the transform.
protected TransformGroup Transform { get; }
Gets or sets whether the default connectors should be defined on the shape.
public bool UseDefaultConnectors { get; set; }
Gets or sets whether the gliding connector should be defined on the shape.
public bool UseGlidingConnector { get; set; }
Methods
Deserializes the serialization info in this diagram entity.
public override void Deserialize(SerializationInfo info)
A SerializationInfo instance.
Overrides:
Implements:
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public override void OnApplyTemplate()
Overrides:
Called when position changes.
protected override void OnPositionChanged(Point oldPosition, Point newPosition)
The old position.
newPositionPointThe new position.
Overrides:
Serializes this instance.
Updates the visual states.
protected override void UpdateVisualStates()
Overrides: