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

Represent a service that provides methods for showing a RadCallout control via animated popup.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public static class CalloutPopupService

Inheritance: objectCalloutPopupService

Fields

PopupClosedEvent

RoutedEvent

Identifies the PopupClosed routed event.

C#
public static readonly RoutedEvent PopupClosedEvent

Identifies the PopupClosing routed event.

C#
public static readonly RoutedEvent PopupClosingEvent

PopupOpenedEvent

RoutedEvent

Identifies the PopupOpened routed event.

C#
public static readonly RoutedEvent PopupOpenedEvent

Identifies the PopupOpening routed event.

C#
public static readonly RoutedEvent PopupOpeningEvent

Properties

Gets or sets a value indicating whether the show/close animations for all callout controls in the application will be enabled. If IsGlobalAnimationEnabled is False, this property has no effect.

C#
public static bool IsAnimationEnabled { get; set; }

Methods

Adds handler for the PopupClosed event.

C#
public static void AddPopupClosedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerRoutedEventHandler

The handler.

Adds handler for the PopupClosing event.

C#
public static void AddPopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerCalloutPopupClosingEventHandler

The handler.

Adds handler for the PopupOpened event.

C#
public static void AddPopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerRoutedEventHandler

The handler.

Adds handler for the PopupOpening event.

C#
public static void AddPopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerCalloutPopupOpeningEventHandler

The handler.

Closes the parent popup of the given popup if any.

C#
public static void Close(RadCallout callout)
Parameters:calloutRadCallout

The callout which is previously shown in a popup.

Closes all callouts in open popups.

C#
public static void CloseAll()

Removes handler for the PopupClosed event.

C#
public static void RemovePopupClosedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerRoutedEventHandler

The handler.

Removes handler for the PopupClosing event.

C#
public static void RemovePopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerCalloutPopupClosingEventHandler

The handler.

Removes handler for the PopupOpened event.

C#
public static void RemovePopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerRoutedEventHandler

The handler.

Removes handler for the PopupOpening event.

C#
public static void RemovePopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)
Parameters:targetDependencyObject

The target.

handlerCalloutPopupOpeningEventHandler

The handler.

Shows a callout in an animated popup over the provided placement target with a custom popup settings.

C#
public static void Show(RadCallout callout, FrameworkElement placementTarget, CalloutPopupSettings settings)
Parameters:calloutRadCallout

The callout to show.

placementTargetFrameworkElement

The placement target.

settingsCalloutPopupSettings

The settings for popup and animation.

Shows a callout in an animated popup over the provided placement target object.

C#
public static void Show(RadCallout callout, FrameworkElement placementTarget)
Parameters:calloutRadCallout

The callout to show.

placementTargetFrameworkElement

The placement target.