Class
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:

cs-api-definition
public static class CalloutPopupService

Inheritance: objectCalloutPopupService

Fields

PopupClosedEvent

Identifies the PopupClosed routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PopupClosedEvent

Field Value

RoutedEvent

PopupClosingEvent

Identifies the PopupClosing routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PopupClosingEvent

Field Value

RoutedEvent

PopupOpenedEvent

Identifies the PopupOpened routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PopupOpenedEvent

Field Value

RoutedEvent

PopupOpeningEvent

Identifies the PopupOpening routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PopupOpeningEvent

Field Value

RoutedEvent

Properties

IsAnimationEnabled

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.

Declaration

cs-api-definition
public static bool IsAnimationEnabled { get; set; }

Property Value

bool

Methods

AddPopupClosedHandler(DependencyObject, RoutedEventHandler)

Adds handler for the PopupClosed event.

Declaration

cs-api-definition
public static void AddPopupClosedHandler(DependencyObject target, RoutedEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

RoutedEventHandler

The handler.

AddPopupClosingHandler(DependencyObject, CalloutPopupClosingEventHandler)

Adds handler for the PopupClosing event.

Declaration

cs-api-definition
public static void AddPopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

CalloutPopupClosingEventHandler

The handler.

AddPopupOpenedHandler(DependencyObject, RoutedEventHandler)

Adds handler for the PopupOpened event.

Declaration

cs-api-definition
public static void AddPopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

RoutedEventHandler

The handler.

AddPopupOpeningHandler(DependencyObject, CalloutPopupOpeningEventHandler)

Adds handler for the PopupOpening event.

Declaration

cs-api-definition
public static void AddPopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

CalloutPopupOpeningEventHandler

The handler.

Close(RadCallout)

Closes the parent popup of the given popup if any.

Declaration

cs-api-definition
public static void Close(RadCallout callout)

Parameters

callout

RadCallout

The callout which is previously shown in a popup.

CloseAll()

Closes all callouts in open popups.

Declaration

cs-api-definition
public static void CloseAll()

RemovePopupClosedHandler(DependencyObject, RoutedEventHandler)

Removes handler for the PopupClosed event.

Declaration

cs-api-definition
public static void RemovePopupClosedHandler(DependencyObject target, RoutedEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

RoutedEventHandler

The handler.

RemovePopupClosingHandler(DependencyObject, CalloutPopupClosingEventHandler)

Removes handler for the PopupClosing event.

Declaration

cs-api-definition
public static void RemovePopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

CalloutPopupClosingEventHandler

The handler.

RemovePopupOpenedHandler(DependencyObject, RoutedEventHandler)

Removes handler for the PopupOpened event.

Declaration

cs-api-definition
public static void RemovePopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

RoutedEventHandler

The handler.

RemovePopupOpeningHandler(DependencyObject, CalloutPopupOpeningEventHandler)

Removes handler for the PopupOpening event.

Declaration

cs-api-definition
public static void RemovePopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)

Parameters

target

DependencyObject

The target.

handler

CalloutPopupOpeningEventHandler

The handler.

Show(RadCallout, FrameworkElement)

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

Declaration

cs-api-definition
public static void Show(RadCallout callout, FrameworkElement placementTarget)

Parameters

callout

RadCallout

The callout to show.

placementTarget

FrameworkElement

The placement target.

Show(RadCallout, FrameworkElement, CalloutPopupSettings)

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

Declaration

cs-api-definition
public static void Show(RadCallout callout, FrameworkElement placementTarget, CalloutPopupSettings settings)

Parameters

callout

RadCallout

The callout to show.

placementTarget

FrameworkElement

The placement target.

settings

CalloutPopupSettings

The settings for popup and animation.