ClassRadDiagramShape
A shape with geometric content.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
[Themable]
[TelerikToolboxCategory("Diagram")]
public class RadDiagramShape : RadDiagramShapeBase, IGeometryShape, IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation
Inheritance: objectRadDiagramItemRadDiagramShapeBaseRadDiagramShape
Derived Classes:
Implements:
Inherited Members
Constructors
RadDiagramShape()
Initializes a new instance of the RadDiagramShape class.
Declaration
public RadDiagramShape()
Fields
GeometryProperty
The Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
DependencyProperty
Properties
Geometry
Gets or sets the geometry this shape contains.
Declaration
public Geometry Geometry { get; set; }
Property Value
Geometry
The geometry or figure.
Implements
Methods
Deserialize(SerializationInfo)
Deserializes the specified info.
Declaration
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
public override void Deserialize(SerializationInfo info)
Parameters
info
The info.
Overrides
Implements
OnCreateAutomationPeer()
Creates a peer associated with this object.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
An instance of the .
Overrides
OnGeometryChanged(Geometry, Geometry)
Called when [geometry changed].
Declaration
protected virtual void OnGeometryChanged(Geometry oldGeometry, Geometry newGeometry)
Parameters
oldGeometry
Geometry
The old geometry.
newGeometry
Geometry
The new geometry.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Serialize()
Serializes this shape.
Declaration
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
public override SerializationInfo Serialize()
Returns
Overrides
Implements
Events
GeometryChanged
Occurs when [geometry changed].
Declaration
public event EventHandler<PropertyEventArgs<Geometry>> GeometryChanged
Event Value
EventHandler<PropertyEventArgs<Geometry>>