Class CalloutPopupService
Represent a service that provides methods for showing a RadCallout control via animated popup.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public static class CalloutPopupService
Fields
PopupClosedEvent
Identifies the PopupClosed routed event.
Declaration
public static readonly RoutedEvent PopupClosedEvent
Field Value
System.Windows.RoutedEvent
|
PopupClosingEvent
Identifies the PopupClosing routed event.
Declaration
public static readonly RoutedEvent PopupClosingEvent
Field Value
System.Windows.RoutedEvent
|
PopupOpenedEvent
Identifies the PopupOpened routed event.
Declaration
public static readonly RoutedEvent PopupOpenedEvent
Field Value
System.Windows.RoutedEvent
|
PopupOpeningEvent
Identifies the PopupOpening routed event.
Declaration
public static readonly RoutedEvent PopupOpeningEvent
Field Value
System.Windows.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
public static bool IsAnimationEnabled { get; set; }
Property Value
System.Boolean
|
Methods
AddPopupClosedHandler(DependencyObject, RoutedEventHandler)
Adds handler for the PopupClosed event.
Declaration
public static void AddPopupClosedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
System.Windows.RoutedEventHandler
handler
The handler. |
AddPopupClosingHandler(DependencyObject, CalloutPopupClosingEventHandler)
Adds handler for the PopupClosing event.
Declaration
public static void AddPopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
CalloutPopupClosingEventHandler
handler
The handler. |
AddPopupOpenedHandler(DependencyObject, RoutedEventHandler)
Adds handler for the PopupOpened event.
Declaration
public static void AddPopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
System.Windows.RoutedEventHandler
handler
The handler. |
AddPopupOpeningHandler(DependencyObject, CalloutPopupOpeningEventHandler)
Adds handler for the PopupOpening event.
Declaration
public static void AddPopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
CalloutPopupOpeningEventHandler
handler
The handler. |
Close(RadCallout)
Closes the parent popup of the given popup if any.
Declaration
public static void Close(RadCallout callout)
Parameters
RadCallout
callout
The callout which is previously shown in a popup. |
CloseAll()
Closes all callouts in open popups.
Declaration
public static void CloseAll()
RemovePopupClosedHandler(DependencyObject, RoutedEventHandler)
Removes handler for the PopupClosed event.
Declaration
public static void RemovePopupClosedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
System.Windows.RoutedEventHandler
handler
The handler. |
RemovePopupClosingHandler(DependencyObject, CalloutPopupClosingEventHandler)
Removes handler for the PopupClosing event.
Declaration
public static void RemovePopupClosingHandler(DependencyObject target, CalloutPopupClosingEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
CalloutPopupClosingEventHandler
handler
The handler. |
RemovePopupOpenedHandler(DependencyObject, RoutedEventHandler)
Removes handler for the PopupOpened event.
Declaration
public static void RemovePopupOpenedHandler(DependencyObject target, RoutedEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
System.Windows.RoutedEventHandler
handler
The handler. |
RemovePopupOpeningHandler(DependencyObject, CalloutPopupOpeningEventHandler)
Removes handler for the PopupOpening event.
Declaration
public static void RemovePopupOpeningHandler(DependencyObject target, CalloutPopupOpeningEventHandler handler)
Parameters
System.Windows.DependencyObject
target
The target. |
CalloutPopupOpeningEventHandler
handler
The handler. |
Show(RadCallout, FrameworkElement)
Shows a callout in an animated popup over the provided placement target object.
Declaration
public static void Show(RadCallout callout, FrameworkElement placementTarget)
Parameters
RadCallout
callout
The callout to show. |
System.Windows.FrameworkElement
placementTarget
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
public static void Show(RadCallout callout, FrameworkElement placementTarget, CalloutPopupSettings settings)
Parameters
RadCallout
callout
The callout to show. |
System.Windows.FrameworkElement
placementTarget
The placement target. |
CalloutPopupSettings
settings
The settings for popup and animation. |