Class CalloutTargetManager
A class responsible for following the bounds changes of the target control or element, or when their owner form is moved when the callout is shown.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Callout
Assembly: Telerik.WinControls.UI.dll
Syntax
public class CalloutTargetManager : IDisposable
Constructors
CalloutTargetManager(RadCalloutForm)
Initializes a new instance pf the Callout
Declaration
public CalloutTargetManager(RadCalloutForm calloutForm)
Parameters
Rad The owner callout form. |
Methods
AdjustLocation()
Adjusts the location of the owner Rad
Declaration
protected virtual void AdjustLocation()
AttachPlacementTarget(Control)
Attaches to a System.
Declaration
public bool AttachPlacementTarget(Control control)
Parameters
System. The control to attach to. |
Returns
System. A value indicating whether the attach is successful. |
AttachPlacementTarget(RadElement)
Attaches to a Rad
Declaration
public bool AttachPlacementTarget(RadElement element)
Parameters
Rad The element to attach to. |
Returns
System. A value indicating whether the attach is successful. |
Dispose()
Detaches from all events and releases all resources.
Declaration
public void Dispose()
Implements
GetTargetRectangle()
Gets the rectangle of target control/element in screen coordinates.
Declaration
public Rectangle GetTargetRectangle()
Returns
System. The rectangle of target control/element in screen coordinates. |
ReleasePlacementTargets()
Detaches all events from target element, target control and their owner - target form and releases their references.
Declaration
public void ReleasePlacementTargets()