CustomShape
Class
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
C#
public class CustomShape : ElementShape, IComponent, IDisposable
Inheritance: objectMarshalByRefObjectComponentElementShapeCustomShape
Derived Classes:
Implements:
Inherited Members
Constructors
C#
public CustomShape()
Properties
C#
public ShapeLinesCollection Shape { get; set; }
Methods
Creates a GraphicsPath using the specified rectangle as bounds. This method must be implemented by derived classes.
C#
public override GraphicsPath CreatePath(Rectangle bounds)
The rectangle defining the bounds for the shape.
Returns:A GraphicsPath representing the shape within the specified bounds.
Overrides:
Deserializes properties. Required for telerik deserialization mechanism.
C#
public override void DeserializeProperties(string propertiesString)
Overrides:
Serializes properties. Required for telerik serialization mechanism.