Class RadDiagramShape
A shape with geometric content.
Inherited Members
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, 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. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
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_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_IsEnabled(Boolean)
Declaration
void IDiagramItem.set_IsEnabled(bool value)
Parameters
System.Boolean
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_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.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
|