RadDiagramShape
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
Initializes a new instance of the RadDiagramShape class.
public RadDiagramShape()
Fields
GeometryProperty
DependencyProperty
The Geometry dependency property.
public static readonly DependencyProperty GeometryProperty
Properties
Geometry
Geometry
Gets or sets the geometry this shape contains.
public Geometry Geometry { get; set; }
The geometry or figure.
Implements:
Methods
Deserializes the specified info.
public override void Deserialize(SerializationInfo info)
The info.
Overrides:
Implements:
OnCreateAutomationPeer()
AutomationPeer
Creates a peer associated with this object.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
An instance of the .
Overrides:
Called when [geometry changed].
protected virtual void OnGeometryChanged(Geometry oldGeometry, Geometry newGeometry)
The old geometry.
newGeometryGeometryThe new geometry.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Resets the theme.
public void ResetTheme()
Serializes this shape.
Events
GeometryChanged
EventHandler<PropertyEventArgs<Geometry>>
Occurs when [geometry changed].
public event EventHandler<PropertyEventArgs<Geometry>> GeometryChanged