Key Properties

This article will list the key properties provided by the RadCallout control.

Geometry customization

The RadCallout provides 3 properties for customizing the arrow of its geometry - ArrowBasePoint1 , ArrowBasePoint2 and ArrowAnchorPoint.

  • ArrowAnchorPoint: A property of type Point that gets or sets the anchor point of the arrow geometry.
  • ArrowBasePoint1: A property of type Point that gets or sets the first base point of the arrow geometry.
  • ArrowBasePoint2: A property of type Point that gets or sets the second base point of the arrow geometry.

The properties are of type Point and represent relative coordinates (between 0 and 1) where for example X = 0 and Y = 0 means the topleft point of the callout body and X= 1, Y = 1 means the 'bottom-right' point. In the figures you can see the default values of the properties [0.25, 0.5], [0.75, 0.5] and [0.5, 1.25].

Important to note here is that the widht and height of the callout apply only to the body of the geometry but not to the arrow. This way it is very easy to keep a fixed size of the main shape while making the big arrow exceeding the shape size.

Figure 1:

Telerik Callout Key Properties 1

  • MeasurePathWithInfinity: A boolean property that gets or sets a value indicating whether the path in the control template is measured with infinity or not.

  • Stretch: A property of type Strech that gets or sets the stretch of the path from the control template.

  • CornerRadius: A property of type double that gets or sets the corner radius used for the Telerik.Windows.Controls.CalloutType.RoundedRectangle geometry.

  • TextTrimming: A property of type TextTrimming that gets or sets the text trimming mode of the underlying TextBlock.

  • TextAlignment: A property of type TextAlignment that gets or sets the text alignment of the underlying TextBlock.

  • TextWrapping: A property of type TextWrapping that gets or sets the text wrapping mode of the underlying TextBlock.

  • StrokeThickness: A property of type double that gets or sets the stroke thickness of the underlying path.

  • GeometryResult: A property of type Geometry that gets the combined (body and arrow) geometry of the callout control.

  • Geometry: A property of type Geometry that gets or sets the desired (body) geometry of the callout control.

  • StrokeDashArray: A DoubleCollection property that gets or sets the stroke dash array of the underlying path.

  • CalloutType: A property of type CalloutType that gets or sets the callout type of the callout control. The CalloutType is an enumeration and it allows the following values:

    • Rectangle: Rectangle geometry.
    • RoundedRectangle: Rounded rectangle geometry.
    • Ellipse: Ellipse geometry.
    • Cloud: Cloud geometry.
    • Kaboom: Kaboom geometry.
    • Custom: Set custom geometry.

    Figure 2: RadCallout types

    Telerik Callout Key Properties 2

  • ArrowType: A property of type CalloutArrowType that gets or sets gets or sets the arrow type of the callout control. The ArrowType is an enumeration and it allows the following values:

    • None: No arrow.
    • Triangle: Triangle or line arrow consisted of 3 pivot points.
    • Circles: Series of circles.
    • Ellipses: Series of ellipses.

    Figure 3: RadCallout arrow types

    Telerik Callout Key Properties 3

See Also

In this article
Not finding the help you need? Improve this article