New to Telerik UI for WinFormsStart a free 30-day trial

Defines a callout shape, base on the settings defined in CalloutShapeSettings class.

Definition

Namespace:Telerik.WinControls.UI.Callout

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CalloutElementShape : PathElementShape, IComponent, IDisposable

Inheritance: objectMarshalByRefObjectComponentElementShapeCustomShapePathElementShapeCalloutElementShape...

Implements: IComponentIDisposable

Inherited Members PathElementShape.SerializeProperties()PathElementShape.DeserializeProperties(string)PathElementShape.BoundsPathElementShape.OwnerPathElementShape.PathPathElementShape.ScaledPathCustomShape.Clone()CustomShape.CopyFrom(CustomShape)CustomShape.GetBoundingRectangle()CustomShape.DoFixDimension(bool)CustomShape.DoFixDimension()CustomShape.AddLine(PointF, PointF)CustomShape.AddBezier(PointF, PointF, PointF, PointF)CustomShape.AppendLine(PointF)CustomShape.AppendBezier(PointF, PointF, PointF)CustomShape.CloseFigureUsingLine()CustomShape.CloseFigureUsingBezier(PointF, PointF)CustomShape.CreateClosedShape(ShapePoint[])CustomShape.CreateClosedShape(PointF[])CustomShape.CreateClosedShape(List<PointF>)CustomShape.CreateRectangleShape(PointF, PointF)CustomShape.CreateRectangleShape(float, float, float, float)CustomShape.CreateRectangleShape(PointF, SizeF)CustomShape.CreateRectangleShape(Rectangle)CustomShape.DimensionCustomShape.ShapeCustomShape.AsStringElementShape.GetElementShape(RadElement)ElementShape.GetElementContour(RadElement)ElementShape.GetElementContour(Rectangle)ElementShape.CreateRegion(Rectangle)ElementShape.GetBounds(RadElement)ElementShape.CreatePath(RectangleF)ElementShape.CreateContour(Rectangle)ElementShape.MirrorPath(GraphicsPath, RectangleF)ElementShape.ShouldMirrorPath()ElementShape.Dispose(bool)ElementShape.IsRightToLeftComponent.Dispose()Component.GetService(Type)Component.ToString()Component.CanRaiseEventsComponent.EventsComponent.SiteComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)...

Constructors

Initializes a new instance of the CalloutShapeSettings class.

C#
public CalloutElementShape()

Properties

Gets or sets the CalloutShapeSettings used when creating callout shape.

C#
public CalloutShapeSettings ShapeSettings { get; }

Methods

C#
protected virtual CalloutShapeSettings CreateCalloutShapeSettings()
Returns:

CalloutShapeSettings

Creates a GraphicsPath based on the given bounds.

C#
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters:boundsRectangle

The bounds of the shape.

Returns:

GraphicsPath

The graphics path.

Overrides: PathElementShape.CreatePath(Rectangle)

C#
protected virtual GraphicsPath CreatePathCore(Rectangle bounds, bool isBorder)
Parameters:boundsRectangleisBorderboolReturns:

GraphicsPath

C#
protected virtual void TruncateArrowWidthAndCornerDiameter(int sideLength, ref int arrowWidth, ref int cornerDiameter)
Parameters:sideLengthintarrowWidthintcornerDiameterint