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
Properties
BackColor
BackColor
Declaration
public override Color BackColor { get; set; }
Property Value
System.
|
Overrides
BorderBrush
BorderBrush
Declaration
public override Brush BorderBrush { get; set; }
Property Value
System.
|
Overrides
DiagramShapeElement
DiagramShapeElement
Declaration
public LightVisualElement DiagramShapeElement { get; set; }
Property Value
DrawBorder
Gets or Sets value indicating whether the element should paint its border
Declaration
public virtual bool DrawBorder { get; set; }
Property Value
System.
|
ElementShape
ElementShape
Declaration
public virtual ElementShape ElementShape { get; set; }
Property Value
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.
|
IsEnabled
IsEnabled
Declaration
public override bool IsEnabled { get; set; }
Property Value
System.
|
Overrides
Implements
ShapeText
ShapeText
Declaration
[Obsolete("Use the Text property instead")]
public virtual string ShapeText { get; set; }
Property Value
System.
|
Text
Text
Declaration
public override string Text { get; set; }
Property Value
System.
|
Overrides
ToolTipText
ToolTipText
Declaration
public override string ToolTipText { get; set; }
Property Value
System.
|
Overrides
Methods
CreateChildElements()
CreateChildElements
Declaration
protected override void CreateChildElements()
Overrides
Deserialize(SerializationInfo)
Deserializes the specified info.
Declaration
public override void Deserialize(SerializationInfo info)
Parameters
Serialization The info. |
Overrides
Implements
OnGeometryChanged(Geometry, Geometry)
Called when [geometry changed].
Declaration
protected virtual void OnGeometryChanged(Geometry oldGeometry, Geometry newGeometry)
Parameters
OnIsSelectedChanged(Boolean, Boolean)
OnIsSelectedChanged
Declaration
protected override void OnIsSelectedChanged(bool oldValue, bool newValue)
Parameters
System. oldValue |
System. newValue |
Overrides
OnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System. The name of the property. |
Overrides
OnPropertyChanged(String)
OnPropertyChanged
Declaration
protected override void OnPropertyChanged(string propertyName)
Parameters
System. propertyName |
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
OnPropertyChanged
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
Serialize()
Serializes this shape.
Declaration
public override SerializationInfo Serialize()
Returns
Overrides
Implements
ShouldSerializeProperty(PropertyDescriptor)
ShouldSerializeProperty
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System. property |
Returns
System.
|
Overrides
Events
GeometryChanged
Occurs when [geometry changed].
Declaration
public event EventHandler<PropertyEventArgs<Geometry>> GeometryChanged
Event Type
System.
|
Explicit Interface Implementations
ISupportMouseOver.get_IsMouseOver()
Declaration
bool ISupportMouseOver.get_IsMouseOver()
Returns
System.
|