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

The RadCallout component can host any Control and is used to display additional information, warnings, hints, or to highlight relevant data. It provides a flexible way to create callout forms with customizable appearance, arrow direction, and animation effects.

Definition

Constructors

Initializes a new instance of the RadCallout class.

C#
public RadCallout()

Properties

Gets the animation manager for the callout, which controls all animation settings and is responsible for showing and hiding animations. Use this property to configure the callout's animation behavior.

C#
public CalloutAnimationManager AnimationManager { get; }

Gets or sets the direction of the callout's arrow. The arrow direction determines which side of the callout the arrow points from.

C#
public ArrowDirection ArrowDirection { get; set; }

Gets or sets the size of the callout's arrow. This property controls both the width and height of the arrow element.

C#
public Size ArrowSize { get; set; }

Gets or sets the arrow type of the callout. Determines the visual style of the callout's pointing arrow.

C#
public CalloutArrowType ArrowType { get; set; }

Gets or sets the control that is displayed inside the callout. Only a single control can be associated with RadCallout. If you need to display multiple controls, add them to a container control such as RadPanel and associate the container with the callout.

C#
public Control AssociatedControl { get; set; }

Gets or sets a value indicating whether the callout will automatically close when the user clicks outside of it. When true, the mouse is captured by the callout. When false, the user must close the callout manually or by calling Close().

C#
public bool AutoClose { get; set; }

Gets the underlying RadCalloutForm instance that represents the callout window. This property provides access to the form for advanced configuration and manipulation.

C#
[Browsable(false)]
public RadCalloutForm CalloutForm { get; }

Gets or sets the shape type of the callout. Determines whether the callout has a rectangular or rounded rectangular appearance.

C#
public CalloutType CalloutType { get; set; }

Gets or sets the action to perform when the callout form is about to be closed. Determines whether the callout form is hidden or disposed when closing.

C#
public CalloutCloseAction CloseAction { get; set; }

Gets or sets the corner radius for rounded rectangle callouts. This property is only applicable when CalloutType is set to RoundedRectangle.

C#
public int CornerRadius { get; set; }

Gets or sets the distance between the callout and the target control or element. This distance is measured in pixels and affects the positioning of the callout relative to its target.

C#
public int Distance { get; set; }

Gets or sets a value indicating whether the callout displays a drop shadow effect. The shadow appearance cannot be customized beyond enabling or disabling it.

C#
public bool DropShadow { get; set; }

Gets or sets the title for error messages displayed when the callout form is disposed. This message is shown when attempting to display a callout that has already been disposed.

C#
public static string ErrorCaption { get; set; }

Gets or sets the content for error messages displayed when the callout form is disposed. This message is shown when attempting to display a callout that has already been disposed.

C#
public static string ErrorMessage { get; set; }

Gets or sets a value indicating whether the callout will move along with its parent form when the form is moved. This property only has effect when AutoClose is set to false.

C#
public bool MoveWithParentForm { get; set; }

Gets or sets the theme name for the callout. The theme controls the visual appearance of the callout form. If not specified, the callout will use the default theme.

C#
[Browsable(true)]
public string ThemeName { get; set; }

Methods

Closes the callout form. The actual behavior depends on the CloseAction property setting.

C#
public void Close()

Creates the callout form instance. This method can be overridden to provide custom callout form implementation.

C#
protected virtual RadCalloutForm CreateCalloutForm()
Returns:

RadCalloutForm

A new instance of RadCalloutForm.

Releases the resources used by the component and its associated callout form.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: Component.Dispose(bool)

Shows a callout by given content over the provided target control.

C#
public static RadCallout Show(Control content, Control targetControl, CalloutShapeSettings shapeSettings = null)
Parameters:contentControl

The control that represents the content of the callout.

targetControlControl

The target control.

shapeSettingsCalloutShapeSettings

The callout shape settings related to callout shape, arrow direction, arrow size etc.

Returns:

RadCallout

The callout.

Shows a callout by given content over the provided target point.

C#
public static RadCallout Show(Control content, Point targetPoint, CalloutShapeSettings shapeSettings = null)
Parameters:contentControl

The control that represents the content of the callout.

targetPointPoint

The target screen location.

shapeSettingsCalloutShapeSettings

The callout shape settings related to callout shape, arrow direction, arrow size etc.

Returns:

RadCallout

The callout.

Shows a callout by given content over the provided target element.

C#
public static RadCallout Show(Control content, RadElement targetElement, CalloutShapeSettings shapeSettings = null)
Parameters:contentControl

The control that represents the content of the callout.

targetElementRadElement

The target element.

shapeSettingsCalloutShapeSettings

The callout shape settings related to callout shape, arrow direction, arrow size etc.

Returns:

RadCallout

The callout.

Shows a screen tip in a callout over the provided target control.

C#
public static RadCallout Show(Control targetControl, string content, string caption = "", string footer = "", CalloutShapeSettings shapeSettings = null)
Parameters:targetControlControl

The target control.

contentstring

The content of tool tip.

captionstring

The header(Caption) of tool tip.

footerstring

The footer of tool tip.

shapeSettingsCalloutShapeSettings

The callout shape settings related to callout shape, arrow direction, arrow size etc.

Returns:

RadCallout

Shows the callout form pointing to a specific control. If the callout form has been disposed, an error message will be displayed instead.

C#
public void Show(Control control)
Parameters:controlControl

The control that the callout should point to.

Shows a screen tip in a callout over the provided target point.

C#
public static RadCallout Show(Point targetPoint, string content, string caption = "", string footer = "", CalloutShapeSettings shapeSettings = null)
Parameters:targetPointPoint

The target screen location.

contentstring

The content of tool tip.

captionstring

The header(Caption) of tool tip.

footerstring

The footer of tool tip.

shapeSettingsCalloutShapeSettings

The callout shape settings related to callout shape, arrow direction, arrow size etc.

Returns:

RadCallout

Shows the callout form pointing to a specific location in screen coordinates. If the callout form has been disposed, an error message will be displayed instead.

C#
public void Show(Point location)
Parameters:locationPoint

The screen coordinates where the callout should point to.

Shows a screen tip in a given callout over the provided target control.

C#
public static void Show(RadCallout callout, Control targetControl, string content, string caption = "", string footer = "")
Parameters:calloutRadCallout

The callout.

targetControlControl

The target control.

contentstring

The content of tool tip.

captionstring

The header(Caption) of tool tip.

footerstring

The footer of tool tip.

Shows a screen tip in a given callout over the provided target screen point.

C#
public static void Show(RadCallout callout, Point targetPoint, string content, string caption = "", string footer = "")
Parameters:calloutRadCallout

The callout.

targetPointPoint

The target point.

contentstring

The content of tool tip.

captionstring

The header(Caption) of tool tip.

footerstring

The footer of tool tip.

Shows a screen tip in a given callout over the provided target element.

C#
public static void Show(RadCallout callout, RadElement targetElement, string content, string caption = "", string footer = "")
Parameters:calloutRadCallout

The callout.

targetElementRadElement

The target element.

contentstring

The content of tool tip.

captionstring

The header(Caption) of tool tip.

footerstring

The footer of tool tip.

Shows a screen tip in a callout over the provided target element.

C#
public static RadCallout Show(RadElement targetElement, string content, string caption = "", string footer = "", CalloutShapeSettings shapeSettings = null)
Parameters:targetElementRadElement

The target element.

contentstring

The content of tool tip.

captionstring

The header(Caption) of tool tip.

footerstring

The footer of tool tip.

shapeSettingsCalloutShapeSettings

The callout shape settings related to callout shape, arrow direction, arrow size etc.

Returns:

RadCallout

Shows the callout form pointing to a specific RadElement. If the callout form has been disposed, an error message will be displayed instead.

C#
public void Show(RadElement element)
Parameters:elementRadElement

The RadElement that the callout should point to.

Events

Occurs when the callout has been closed.

C#
public event FormClosedEventHandler Closed

Occurs when the callout is about to be closed. This event is cancellable.

C#
public event FormClosingEventHandler Closing

Occurs when the callout has been opened and is visible.

C#
public event EventHandler Opened

Occurs when the callout is about to be opened. This event is cancellable.

C#
public event CancelEventHandler Opening