ClassRadDiagramShapeBase
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
RadDiagramShapeBase()
Initializes a new instance of the RadDiagramShapeBase class.
Declaration
protected RadDiagramShapeBase()
Fields
ConnectorStyleProperty
Identifies the ConnectorStyle dependency property.
Declaration
public static readonly DependencyProperty ConnectorStyleProperty
Field Value
DependencyProperty
ConnectorsProperty
Identifies the ConnectorsProperty dependency property.
Declaration
public static readonly DependencyProperty ConnectorsProperty
Field Value
DependencyProperty
GlidingStyleProperty
Identifies the GlidingStyle dependency property.
Declaration
public static readonly DependencyProperty GlidingStyleProperty
Field Value
DependencyProperty
IsActiveConnectionInsideProperty
Identifies the IsActiveConnectionInside dependency property.
Declaration
public static readonly DependencyProperty IsActiveConnectionInsideProperty
Field Value
DependencyProperty
RotationAngleProperty
Identifies the RotationAngle dependency property.
Declaration
public static readonly DependencyProperty RotationAngleProperty
Field Value
DependencyProperty
UseDefaultConnectorsProperty
Identifies the UseDefaultConnectors dependency property.
Declaration
public static readonly DependencyProperty UseDefaultConnectorsProperty
Field Value
DependencyProperty
UseGlidingConnectorProperty
Identifies the UseGlidingConnector dependency property.
Declaration
public static readonly DependencyProperty UseGlidingConnectorProperty
Field Value
DependencyProperty
Properties
ActualBounds
Gets the actual bounds.
Declaration
public Rect ActualBounds { get; }
Property Value
Rect
Implements
ConnectorStyle
Gets or sets the connector style.
Declaration
public Style ConnectorStyle { get; set; }
Property Value
Style
The connector style.
Connectors
Gets the connectors of this shape.
Declaration
public ConnectorCollection Connectors { get; }
Property Value
Implements
GlidingStyle
Gets or sets the style of outline the gliding connection should follow.
Declaration
public GlidingStyle GlidingStyle { get; set; }
Property Value
Remarks
This property has only an effect if the UseGlidingConnector is set to true.
IncomingLinks
Gets the incoming links.
Declaration
public IEnumerable<IConnection> IncomingLinks { get; }
Property Value
The incoming links.
Implements
OutgoingLinks
Gets the outgoing links.
Declaration
public IEnumerable<IConnection> OutgoingLinks { get; }
Property Value
The outgoing links.
Implements
RotationAngle
Gets or sets the rotation angle.
Declaration
public double RotationAngle { get; set; }
Property Value
The rotation angle.
Implements
Transform
Gets the transform.
Declaration
protected TransformGroup Transform { get; }
Property Value
TransformGroup
UseDefaultConnectors
Gets or sets whether the default connectors should be defined on the shape.
UseGlidingConnector
Gets or sets whether the gliding connector should be defined on the shape.
Methods
Deserialize(SerializationInfo)
Deserializes the serialization info in this diagram entity.
Declaration
public override void Deserialize(SerializationInfo info)
Parameters
info
A SerializationInfo instance.
Overrides
Implements
GetXml()
Gets the XML representation of this shape.
OnApplyTemplate()
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.
Declaration
public override void OnApplyTemplate()
Overrides
OnIsInEditModeChanged(bool, bool)
Called when IsInEditMode changes.
OnPositionChanged(Point, Point)
Called when position changes.
Declaration
protected override void OnPositionChanged(Point oldPosition, Point newPosition)
Parameters
oldPosition
Point
The old position.
newPosition
Point
The new position.
Overrides
OnRotationAngleChanged(double, double)
Called when the rotation angle has changed.
Serialize()
Serializes this instance.
Declaration
public override SerializationInfo Serialize()
Returns
Overrides
Implements
UpdateVisualStates()
Updates the visual states.
Declaration
protected override void UpdateVisualStates()
Overrides