ClassRadDiagramShapeBase
Abstract base implementation of the IShape interface.
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public abstract class RadDiagramShapeBase : RadDiagramItem, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRadDiagramItemRadDiagramShapeBase
Derived Classes:
Implements:
Inherited Members
Constructors
RadDiagramShapeBase()
Initializes a new instance of the RadDiagramShapeBase class.
Declaration
protected RadDiagramShapeBase()
Fields
ConnectorsProperty
Identifies the ConnectorsProperty dependency property.
Declaration
public static readonly RadProperty ConnectorsProperty
Field Value
GlidingStyleProperty
Identifies the GlidingStyle dependency property.
Declaration
public static readonly RadProperty GlidingStyleProperty
Field Value
IsActiveConnectionInsideProperty
Identifies the IsActiveConnectionInside dependency property.
Declaration
public static readonly RadProperty IsActiveConnectionInsideProperty
Field Value
RotationAngleProperty
Identifies the RotationAngle dependency property.
Declaration
public static readonly RadProperty RotationAngleProperty
Field Value
UseDefaultConnectorsProperty
Identifies the UseDefaultConnectors dependency property.
Declaration
public static readonly RadProperty UseDefaultConnectorsProperty
Field Value
UseGlidingConnectorProperty
Identifies the UseGlidingConnector dependency property.
Declaration
public static readonly RadProperty UseGlidingConnectorProperty
Field Value
Properties
ActualBounds
Gets the actual bounds.
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.
Height
Height
Declaration
public override double Height { get; set; }
Property Value
Overrides
Implements
IncomingLinks
Gets the incoming links.
Declaration
[Browsable(false)]
public IEnumerable<IConnection> IncomingLinks { get; }
Property Value
IEnumerable<IConnection>
The incoming links.
Implements
MaxHeight
MaxHeight
Declaration
public double MaxHeight { get; set; }
Property Value
Implements
MaxSize
Get or sets the maximum size to apply on an element when layout is calculated.
Declaration
public override Size MaxSize { get; set; }
Property Value
Overrides
MaxWidth
MaxWidth
MinHeight
MinHeight
Declaration
public double MinHeight { get; set; }
Property Value
Implements
MinSize
Get or sets the minimum size to apply on an element when layout is calculated.
Declaration
public override Size MinSize { get; set; }
Property Value
Overrides
MinWidth
MinWidth
OutgoingLinks
Gets the outgoing links.
Declaration
[Browsable(false)]
public IEnumerable<IConnection> OutgoingLinks { get; }
Property Value
IEnumerable<IConnection>
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
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
ArrangeOverride(SizeF)
ArrangeOverride
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.
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