Class RadDiagramShape
A shape with geometric content.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
[TelerikToolboxCategory("Diagram")]
[Themable]
public class RadDiagramShape : RadDiagramShapeBase, IGeometryShape, IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation, IThemable
Constructors
RadDiagramShape()
Fields
GeometryProperty
The Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Geometry
Gets or sets the geometry this shape contains.
Declaration
public Geometry Geometry { get; set; }
Property Value
System.Windows.Media.Geometry
The geometry or figure. |
Implements
Methods
Deserialize(SerializationInfo)
Deserializes the specified info.
Declaration
public override void Deserialize(SerializationInfo info)
Parameters
SerializationInfo
info
The info. |
Overrides
Implements
OnCreateAutomationPeer()
Creates a Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramAutomationPeer peer associated with this object.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
An instance of the Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramAutomationPeer. |
Overrides
OnGeometryChanged(Geometry, Geometry)
Called when [geometry changed].
Declaration
protected virtual void OnGeometryChanged(Geometry oldGeometry, Geometry newGeometry)
Parameters
System.Windows.Media.Geometry
oldGeometry
The old geometry. |
System.Windows.Media.Geometry
newGeometry
The new geometry. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
Serialize()
Serializes this shape.
Declaration
public override SerializationInfo Serialize()
Returns
SerializationInfo
|
Overrides
Implements
Events
GeometryChanged
Occurs when [geometry changed].
Declaration
public event EventHandler<PropertyEventArgs<Geometry>> GeometryChanged
Event Type
System.EventHandler<PropertyEventArgs<System.Windows.Media.Geometry>>
|
Explicit Interface Implementations
IDiagramItem.get_Content()
Declaration
object IDiagramItem.get_Content()
Returns
System.Object
|
Implements
IDiagramItem.get_IsEnabled()
Declaration
bool IDiagramItem.get_IsEnabled()
Returns
System.Boolean
|
Implements
IDiagramItem.get_Name()
Declaration
string IDiagramItem.get_Name()
Returns
System.String
|
Implements
IDiagramItem.get_RenderTransformOrigin()
Declaration
Point IDiagramItem.get_RenderTransformOrigin()
Returns
System.Windows.Point
|
Implements
IDiagramItem.get_Visibility()
Declaration
Visibility IDiagramItem.get_Visibility()
Returns
System.Windows.Visibility
|
Implements
IDiagramItem.set_Content(Object)
Declaration
void IDiagramItem.set_Content(object value)
Parameters
System.Object
value
|
Implements
IDiagramItem.set_IsEnabled(Boolean)
Declaration
void IDiagramItem.set_IsEnabled(bool value)
Parameters
System.Boolean
value
|
Implements
IDiagramItem.set_Name(String)
Declaration
void IDiagramItem.set_Name(string value)
Parameters
System.String
value
|
Implements
IDiagramItem.set_RenderTransformOrigin(Point)
Declaration
void IDiagramItem.set_RenderTransformOrigin(Point value)
Parameters
System.Windows.Point
value
|
Implements
IDiagramItem.set_Visibility(Visibility)
Declaration
void IDiagramItem.set_Visibility(Visibility value)
Parameters
System.Windows.Visibility
value
|
Implements
IShape.get_Height()
Declaration
double IShape.get_Height()
Returns
System.Double
|
Implements
IShape.get_MaxHeight()
Declaration
double IShape.get_MaxHeight()
Returns
System.Double
|
Implements
IShape.get_MaxWidth()
Declaration
double IShape.get_MaxWidth()
Returns
System.Double
|
Implements
IShape.get_MinHeight()
Declaration
double IShape.get_MinHeight()
Returns
System.Double
|
Implements
IShape.get_MinWidth()
Declaration
double IShape.get_MinWidth()
Returns
System.Double
|
Implements
IShape.get_Width()
Declaration
double IShape.get_Width()
Returns
System.Double
|
Implements
IShape.set_Height(Double)
Declaration
void IShape.set_Height(double value)
Parameters
System.Double
value
|
Implements
IShape.set_MaxHeight(Double)
Declaration
void IShape.set_MaxHeight(double value)
Parameters
System.Double
value
|
Implements
IShape.set_MaxWidth(Double)
Declaration
void IShape.set_MaxWidth(double value)
Parameters
System.Double
value
|
Implements
IShape.set_MinHeight(Double)
Declaration
void IShape.set_MinHeight(double value)
Parameters
System.Double
value
|
Implements
IShape.set_MinWidth(Double)
Declaration
void IShape.set_MinWidth(double value)
Parameters
System.Double
value
|
Implements
IShape.set_Width(Double)
Declaration
void IShape.set_Width(double value)
Parameters
System.Double
value
|