Class RadDiagramShape
A shape with geometric content.
Inheritance
Inherited Members
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
Constructors
RadDiagramShape()
Fields
GeometryProperty
The Geometry dependency property.
Declaration
public static readonly RadProperty GeometryProperty
Field Value
RadProperty
|
Properties
BackColor
BackColor
Declaration
public override Color BackColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderBrush
BorderBrush
Declaration
public override Brush BorderBrush { get; set; }
Property Value
System.Drawing.Brush
|
Overrides
DiagramShapeElement
DiagramShapeElement
Declaration
public LightVisualElement DiagramShapeElement { get; set; }
Property Value
LightVisualElement
|
DrawBorder
Gets or Sets value indicating whether the element should paint its border
Declaration
public virtual bool DrawBorder { get; set; }
Property Value
System.Boolean
|
ElementShape
ElementShape
Declaration
public virtual ElementShape ElementShape { get; set; }
Property Value
ElementShape
|
Geometry
Gets or sets the geometry this shape contains.
Declaration
public Geometry Geometry { get; set; }
Property Value
Geometry
The geometry or figure. |
Implements
InternalElementColor
Represent Shape's BackColor
Declaration
[Obsolete("Use the BackColor property instead")]
public Color InternalElementColor { get; set; }
Property Value
System.Drawing.Color
|
IsEnabled
IsEnabled
Declaration
public override bool IsEnabled { get; set; }
Property Value
System.Boolean
|
Overrides
Implements
ShapeText
ShapeText
Declaration
[Obsolete("Use the Text property instead")]
public virtual string ShapeText { get; set; }
Property Value
System.String
|
Text
Text
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
ToolTipText
ToolTipText
Declaration
public override string ToolTipText { get; set; }
Property Value
System.String
|
Overrides
Methods
CreateChildElements()
CreateChildElements
Declaration
protected override void CreateChildElements()
Overrides
Deserialize(SerializationInfo)
Deserializes the specified info.
Declaration
public override void Deserialize(SerializationInfo info)
Parameters
SerializationInfo
info
The info. |
Overrides
Implements
OnGeometryChanged(Geometry, Geometry)
Called when [geometry changed].
Declaration
protected virtual void OnGeometryChanged(Geometry oldGeometry, Geometry newGeometry)
Parameters
Geometry
oldGeometry
The old geometry. |
Geometry
newGeometry
The new geometry. |
OnIsSelectedChanged(Boolean, Boolean)
OnIsSelectedChanged
Declaration
protected override void OnIsSelectedChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
oldValue |
System.Boolean
newValue
newValue |
Overrides
OnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
The name of the property. |
Overrides
OnPropertyChanged(String)
OnPropertyChanged
Declaration
protected override void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
propertyName |
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
OnPropertyChanged
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
e |
Overrides
Serialize()
Serializes this shape.
Declaration
public override SerializationInfo Serialize()
Returns
SerializationInfo
|
Overrides
Implements
ShouldSerializeProperty(PropertyDescriptor)
ShouldSerializeProperty
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
property |
Returns
System.Nullable<System.Boolean>
|
Overrides
Events
GeometryChanged
Occurs when [geometry changed].
Declaration
public event EventHandler<PropertyEventArgs<Geometry>> GeometryChanged
Event Type
System.EventHandler<PropertyEventArgs<Geometry>>
|
Explicit Interface Implementations
ISupportMouseOver.get_IsMouseOver()
Declaration
bool ISupportMouseOver.get_IsMouseOver()
Returns
System.Boolean
|