skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact 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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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 RadCalloutForm

The callout form is a ShapedForm and provides a form with integrated arrow, which points to a specific location, control or element.

Inheritance
System.Object
ShapedForm
RadCalloutForm
Inherited Members
ShapedForm.OnThemeChanged(ThemeChangedEventArgs)
ShapedForm.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
ShapedForm.SetClientSizeCore(Int32, Int32)
ShapedForm.OnLoad(EventArgs)
ShapedForm.OnShown(EventArgs)
ShapedForm.OnPaintBackground(PaintEventArgs)
ShapedForm.OnSizeChanged(EventArgs)
ShapedForm.WndProc(Message)
ShapedForm.ApplicationThemeChanged(Object, ThemeChangedEventArgs)
ShapedForm.ScaleControl(SizeF, BoundsSpecified)
ShapedForm.OnResizeBegin(EventArgs)
ShapedForm.OnResizeEnd(EventArgs)
ShapedForm.OnMove(EventArgs)
ShapedForm.PaintFrame(Graphics)
ShapedForm.PaintBorder(Graphics)
ShapedForm.GetHitTest(Point)
ShapedForm.LOWORD(Int32)
ShapedForm.ShapedControl
ShapedForm.WindowsSettings
ShapedForm.BackColor
ShapedForm.BorderColor
ShapedForm.ForeColor
ShapedForm.Font
ShapedForm.BorderAlignment
ShapedForm.AllowResize
ShapedForm.ThemeName
ShapedForm.EnableCompositionOnVista
ShapedForm.FormBorderStyle
ShapedForm.ControlThemeClassName
ShapedForm.BorderPath
ShapedForm.OuterPath
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadCalloutForm : ShapedForm, IThemeChangeListener

Constructors

RadCalloutForm()

Initializes a new instance of the RadCalloutForm.

Declaration
public RadCalloutForm()

Properties

AnimationManager

Gets or sets the animation manager, which holds the animation settings and is responsible for the animation.

Declaration
public CalloutAnimationManager AnimationManager { get; set; }
Property Value
CalloutAnimationManager

ArrowDirection

Gets or sets the direction of the arrow of the callout.

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

ArrowSize

Gets or sets the size of the arrow of the callout.

Declaration
public Size ArrowSize { get; set; }
Property Value
System.Drawing.Size

ArrowType

Gets or sets the type of the arrow of the callout.

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

AssociatedControl

Gets or sets the associated control that is displayed in the callout.

Declaration
public Control AssociatedControl { get; set; }
Property Value
System.Windows.Forms.Control

AutoClose

Gets or sets a value indicating whether the callout will automatically close. If true, the Mouse is captured in the callout. If false, user is responsible for closing the callout form either manually or with Close() method.

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

BorderWidth

Gets or sets the border width of callout.

Declaration
public override int BorderWidth { get; set; }
Property Value
System.Int32

Overrides
ShapedForm.BorderWidth

CalloutShapeSettings

Gets or sets the CalloutShapeSettings used when creating callout shape.

Declaration
public CalloutShapeSettings CalloutShapeSettings { get; }
Property Value
CalloutShapeSettings

CalloutType

Gets or sets the type of the shape of the callout.

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

CloseAction

Determines the executed action when the callout form is about to be closed.

Declaration
public CalloutCloseAction CloseAction { get; set; }
Property Value
CalloutCloseAction

CornerRadius

Gets or sets the size of the arrow of the callout. It is applicable when CalloutType is RoundedRectangle.

Declaration
public int CornerRadius { get; set; }
Property Value
System.Int32

CreateParams

Declaration
protected override CreateParams CreateParams { get; }
Property Value
System.Windows.Forms.CreateParams

Overrides
ShapedForm.CreateParams

Distance

Gets or sets the distance between the callout and the control(element) relative to which it is shown.

Declaration
public int Distance { get; set; }
Property Value
System.Int32

DropShadow

Gets or sets a value indicating whether the callout drops a shadow. Note that the shadow effect cannot be customized.

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

MoveWithParentForm

Gets or sets a value indicating whether the callout will move along with the parent form of the placement target. This property has effect only when AutoClose is false.

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

Shape

This property is not intended to be used in this class. RadCalloutForm uses a CalloutElementShape.

Declaration
public override ElementShape Shape { get; set; }
Property Value
ElementShape

Overrides
ShapedForm.Shape

TargetManager

Gets the class responsible for following changes of the size and location of the target control or element when the callout is shown.

Declaration
public CalloutTargetManager TargetManager { get; }
Property Value
CalloutTargetManager

Methods

ApplyShape()

Declaration
protected override void ApplyShape()
Overrides
ShapedForm.ApplyShape()

ApplyTheme(String)

Declaration
protected override void ApplyTheme(string themeName)
Parameters
System.String themeName

Overrides
ShapedForm.ApplyTheme(String)

Close()

Declaration
public void Close()

CorrectShowPoint(Point, Point, out Point)

Declaration
protected virtual Point CorrectShowPoint(Point calloutLocation, Point anchorPoint, out Point offset)
Parameters
System.Drawing.Point calloutLocation

System.Drawing.Point anchorPoint

System.Drawing.Point offset

Returns
System.Drawing.Point

CreateBorderPath()

Declaration
protected override GraphicsPath CreateBorderPath()
Returns
System.Drawing.Drawing2D.GraphicsPath

Overrides
ShapedForm.CreateBorderPath()

CreateCalloutShape()

Creates the callout element shape.

Declaration
protected virtual CalloutElementShape CreateCalloutShape()
Returns
CalloutElementShape

The element shape.

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

Overrides
ShapedForm.Dispose(Boolean)

InitializeFields()

Initializes all fields/properties with their default values.

Declaration
protected virtual void InitializeFields()

IsRectangularShape(ref Int32)

Declaration
protected override bool IsRectangularShape(ref int radius)
Parameters
System.Int32 radius

Returns
System.Boolean

Overrides
ShapedForm.IsRectangularShape(ref Int32)

OnCalloutClosed(FormClosedEventArgs)

Occurs when the callout form is closed. Fires the closed event.

Declaration
protected virtual void OnCalloutClosed(FormClosedEventArgs e)
Parameters
System.Windows.Forms.FormClosedEventArgs e

The event arguments.

OnCalloutClosing(FormClosingEventArgs)

Occurs when the callout form is about to be closed. Fires the closing event.

Declaration
protected virtual void OnCalloutClosing(FormClosingEventArgs e)
Parameters
System.Windows.Forms.FormClosingEventArgs e

The event arguments.

OnFormClosing(FormClosingEventArgs)

Occurs when the callout form is about to be closed.

Declaration
protected override void OnFormClosing(FormClosingEventArgs e)
Parameters
System.Windows.Forms.FormClosingEventArgs e

The event arguments.

OnOpened(EventArgs)

Occurs when the callout form is opened. Fires the opened event.

Declaration
protected virtual void OnOpened(EventArgs e)
Parameters
System.EventArgs e

The event arguments.

OnOpening(CancelEventArgs)

Occurs when the callout form is about to be opened. Fires the opening event.

Declaration
protected virtual void OnOpening(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs e

The event arguments.

OnVisibleChanged(EventArgs)

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

SetAssociatedControl(Control)

Sets the associated control. Adds the control to the form's System.Windows.Forms.Control.Controls collection.

Declaration
protected virtual void SetAssociatedControl(Control control)
Parameters
System.Windows.Forms.Control control

The control to associate with.

Show()

Declaration
public void Show()

Show(Point)

Shows a callout form pointing to a specific location in screen coordinates.

Declaration
public void Show(Point arrowTargetPoint)
Parameters
System.Drawing.Point arrowTargetPoint

The target location to point to.

Show(Control)

Shows a callout form pointing to a specific control.

Declaration
public void Show(Control control)
Parameters
System.Windows.Forms.Control control

The control to point to.

Show(IWin32Window)

Declaration
public void Show(IWin32Window owner)
Parameters
System.Windows.Forms.IWin32Window owner

Show(RadElement)

Shows a callout form pointing to a specific element.

Declaration
public void Show(RadElement element)
Parameters
RadElement element

The element to point to.

ShowCore(Rectangle)

Declaration
protected virtual void ShowCore(Rectangle anchorRectangle)
Parameters
System.Drawing.Rectangle anchorRectangle

UpdateAssociatedControlPosition()

Updates the location of associated control.

Declaration
protected virtual void UpdateAssociatedControlPosition()

Events

CalloutClosed

Fires when the callout is closed.

Declaration
public event FormClosedEventHandler CalloutClosed
Event Type
System.Windows.Forms.FormClosedEventHandler

CalloutClosing

Fires when the callout is about to be closed. The closing action can be canceled by modifying the arguments of this event.

Declaration
public event FormClosingEventHandler CalloutClosing
Event Type
System.Windows.Forms.FormClosingEventHandler

Opened

Fires when the callout is opened.

Declaration
public event EventHandler Opened
Event Type
System.EventHandler

Opening

Fires when the callout is about to be opened. The opening action can be canceled by modifying the arguments of this event.

Declaration
public event CancelEventHandler Opening
Event Type
System.ComponentModel.CancelEventHandler

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • 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.