ClassRadDiagramShape
A shape with geometric content.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class RadDiagramShape : RadDiagramShapeBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IGeometryShape, IShape, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible, ISupportRotation
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRadDiagramItemRadDiagramShapeBaseRadDiagramShape
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 RadProperty GeometryProperty
Field Value
Properties
BackColor
BackColor
Declaration
public override Color BackColor { get; set; }
Property Value
Overrides
BorderBrush
BorderBrush
Declaration
public override Brush BorderBrush { get; set; }
Property Value
Overrides
DiagramShapeElement
DiagramShapeElement
Declaration
[Browsable(false)]
public LightVisualElement DiagramShapeElement { get; set; }
Property Value
DrawBorder
Gets or Sets value indicating whether the element should paint its border
ElementShape
ElementShape
Declaration
[Browsable(false)]
public virtual ElementShape ElementShape { get; set; }
Property Value
Geometry
Gets or sets the geometry this shape contains.
Declaration
[Browsable(false)]
public Geometry Geometry { get; set; }
Property Value
The geometry or figure.
Implements
IsEnabled
IsEnabled
Declaration
public override bool IsEnabled { get; set; }
Property Value
Overrides
Implements
Text
Text
Declaration
public override string Text { get; set; }
Property Value
Overrides
ToolTipText
ToolTipText
Declaration
public override string ToolTipText { get; set; }
Property Value
Overrides
Methods
CreateChildElements()
CreateChildElements
Declaration
protected override void CreateChildElements()
Overrides
Deserialize(SerializationInfo)
Deserializes the specified info.
Declaration
public override void Deserialize(SerializationInfo info)
Parameters
info
The info.
Overrides
Implements
OnGeometryChanged(Geometry, Geometry)
Called when [geometry changed].
OnIsSelectedChanged(bool, bool)
OnIsSelectedChanged
OnNotifyPropertyChanged(string)
Raises the PropertyChanged event.
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
propertyName
The name of the property.
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
OnPropertyChanged
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
e
Overrides
OnPropertyChanged(string)
OnPropertyChanged
Declaration
protected override void OnPropertyChanged(string propertyName)
Parameters
propertyName
propertyName
Overrides
Serialize()
Serializes this shape.
Declaration
public override SerializationInfo Serialize()
Returns
Overrides
Implements
ShouldSerializeProperty(PropertyDescriptor)
ShouldSerializeProperty
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
property
property
Returns
bool?
Overrides