CalloutPopupService
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:
public static class CalloutPopupService
Inheritance: objectCalloutPopupService
Fields
PopupClosedEvent
RoutedEvent
Identifies the PopupClosed routed event.
public static readonly RoutedEvent PopupClosedEvent
PopupClosingEvent
RoutedEvent
Identifies the PopupClosing routed event.
public static readonly RoutedEvent PopupClosingEvent
PopupOpenedEvent
RoutedEvent
Identifies the PopupOpened routed event.
public static readonly RoutedEvent PopupOpenedEvent
PopupOpeningEvent
RoutedEvent
Identifies the PopupOpening routed event.
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.
public static bool IsAnimationEnabled { get; set; }
Methods
Adds handler for the PopupClosed event.
public static void AddPopupClosedHandler(DependencyObject target, RoutedEventHandler handler)
The target.
handlerRoutedEventHandlerThe handler.
Adds handler for the PopupClosing event.
public static void AddPopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)
The target.
handlerCalloutPopupClosingEventHandlerThe handler.
Adds handler for the PopupOpened event.
public static void AddPopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)
The target.
handlerRoutedEventHandlerThe handler.
Adds handler for the PopupOpening event.
public static void AddPopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)
The target.
handlerCalloutPopupOpeningEventHandlerThe handler.
Closes the parent popup of the given popup if any.
public static void Close(RadCallout callout)
The callout which is previously shown in a popup.
Closes all callouts in open popups.
public static void CloseAll()
Removes handler for the PopupClosed event.
public static void RemovePopupClosedHandler(DependencyObject target, RoutedEventHandler handler)
The target.
handlerRoutedEventHandlerThe handler.
Removes handler for the PopupClosing event.
public static void RemovePopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)
The target.
handlerCalloutPopupClosingEventHandlerThe handler.
Removes handler for the PopupOpened event.
public static void RemovePopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)
The target.
handlerRoutedEventHandlerThe handler.
Removes handler for the PopupOpening event.
public static void RemovePopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)
The target.
handlerCalloutPopupOpeningEventHandlerThe handler.
Shows a callout in an animated popup over the provided placement target with a custom popup settings.
public static void Show(RadCallout callout, FrameworkElement placementTarget, CalloutPopupSettings settings)
The callout to show.
placementTargetFrameworkElementThe placement target.
settingsCalloutPopupSettingsThe settings for popup and animation.
Shows a callout in an animated popup over the provided placement target object.
public static void Show(RadCallout callout, FrameworkElement placementTarget)
The callout to show.
placementTargetFrameworkElementThe placement target.