skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadCallout

A path-like content control which can point to other objects via arrow. It has body (content) part and an arrow part. Can be used either in XAML or in tooltip / popup scenarios.

Inheritance
System.Object
RadCallout
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll

Syntax

[TelerikToolboxCategory("Common")]
public class RadCallout : ContentControl

Constructors

RadCallout()

Initializes a new instance of the RadCallout class.

Declaration
public RadCallout()

Fields

ArrowAnchorPointProperty

Identifies the ArrowAnchorPoint property.

Declaration
public static readonly DependencyProperty ArrowAnchorPointProperty
Field Value
System.Windows.DependencyProperty

ArrowBasePoint1Property

Identifies the ArrowBasePoint1 property.

Declaration
public static readonly DependencyProperty ArrowBasePoint1Property
Field Value
System.Windows.DependencyProperty

ArrowBasePoint2Property

Identifies the ArrowBasePoint2 property.

Declaration
public static readonly DependencyProperty ArrowBasePoint2Property
Field Value
System.Windows.DependencyProperty

ArrowTypeProperty

Identifies the ArrowType property.

Declaration
public static readonly DependencyProperty ArrowTypeProperty
Field Value
System.Windows.DependencyProperty

CalloutTypeProperty

Identifies the CalloutType property.

Declaration
public static readonly DependencyProperty CalloutTypeProperty
Field Value
System.Windows.DependencyProperty

CornerRadiusProperty

Identifies the CornerRadius property.

Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
System.Windows.DependencyProperty

GeometryProperty

Identifies the Geometry property.

Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
System.Windows.DependencyProperty

GeometryResultProperty

Identifies the Geometry property.

Declaration
public static readonly DependencyProperty GeometryResultProperty
Field Value
System.Windows.DependencyProperty

MeasurePathWithInfinityProperty

Identifies the MeasurePathWithInfinity property.

Declaration
public static readonly DependencyProperty MeasurePathWithInfinityProperty
Field Value
System.Windows.DependencyProperty

StretchProperty

Identifies the Stretch property.

Declaration
public static readonly DependencyProperty StretchProperty
Field Value
System.Windows.DependencyProperty

StrokeDashArrayProperty

Identifies the StrokeDashArray property.

Declaration
public static readonly DependencyProperty StrokeDashArrayProperty
Field Value
System.Windows.DependencyProperty

StrokeThicknessProperty

Identifies the StrokeThickness property.

Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
System.Windows.DependencyProperty

TextAlignmentProperty

Identifies the TextAlignment property.

Declaration
public static readonly DependencyProperty TextAlignmentProperty
Field Value
System.Windows.DependencyProperty

TextTrimmingProperty

Identifies the TextTrimming property.

Declaration
public static readonly DependencyProperty TextTrimmingProperty
Field Value
System.Windows.DependencyProperty

TextWrappingProperty

Identifies the TextWrapping property.

Declaration
public static readonly DependencyProperty TextWrappingProperty
Field Value
System.Windows.DependencyProperty

Properties

ArrowAnchorPoint

Gets or sets the anchor point of the arrow geometry.

Declaration
public Point ArrowAnchorPoint { get; set; }
Property Value
System.Windows.Point

ArrowBasePoint1

Gets or sets the first base point of the arrow geometry.

Declaration
public Point ArrowBasePoint1 { get; set; }
Property Value
System.Windows.Point

ArrowBasePoint2

Gets or sets the second base point of the arrow geometry.

Declaration
public Point ArrowBasePoint2 { get; set; }
Property Value
System.Windows.Point

ArrowType

Gets or sets the arrow type of the callout control.

Declaration
public CalloutArrowType ArrowType { get; set; }
Property Value
CalloutArrowType

CalloutType

Gets or sets the callout type of the callout control.

Declaration
public CalloutType CalloutType { get; set; }
Property Value
CalloutType

CornerRadius

Gets or sets the corner radius used for the RoundedRectangle geometry.

Declaration
public double CornerRadius { get; set; }
Property Value
System.Double

Geometry

Gets or sets the desired (body) geometry of the callout control.

Declaration
public Geometry Geometry { get; set; }
Property Value
System.Windows.Media.Geometry

GeometryResult

Gets the combined (body and arrow) geometry of the callout control.

Declaration
public Geometry GeometryResult { get; }
Property Value
System.Windows.Media.Geometry

MeasurePathWithInfinity

Gets or sets a value indicating whether the path in the control template is measured with infinity or not.

Declaration
public bool MeasurePathWithInfinity { get; set; }
Property Value
System.Boolean

Stretch

Gets or sets the stretch of the path from the control template.

Declaration
public Stretch Stretch { get; set; }
Property Value
System.Windows.Media.Stretch

StrokeDashArray

Gets or sets the stroke dash array of the underlying path.

Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
System.Windows.Media.DoubleCollection

StrokeThickness

Gets or sets the stroke thickness of the underlying path.

Declaration
public double StrokeThickness { get; set; }
Property Value
System.Double

TextAlignment

Gets or sets the text alignment of the underlying TextBlock.

Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
System.Windows.TextAlignment

TextTrimming

Gets or sets the text trimming mode of the underlying TextBlock.

Declaration
public TextTrimming TextTrimming { get; set; }
Property Value
System.Windows.TextTrimming

TextWrapping

Gets or sets the text wrapping mode of the underlying TextBlock.

Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
System.Windows.TextWrapping

Methods

GetArrowGeometry()

Builds the arrow geometry which will be combined with the main geometry for the body of the callout.

Declaration
protected virtual Geometry GetArrowGeometry()
Returns
System.Windows.Media.Geometry

The built arrow geometry.

GetBaseGeometry()

Builds the base (body) geometry which will be combined with the main geometry for the body of the callout.

Declaration
protected virtual Geometry GetBaseGeometry()
Returns
System.Windows.Media.Geometry

The built base geometry for the callout.

MeasureOverride(Size)

Provides the behavior for the "Measure" pass of layout.

Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
System.Windows.Size constraint

The available size that this element can give to child elements.

Returns
System.Windows.Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.

Declaration
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Creates a RadCalloutAutomationPeer.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.