Class RadFlyoutManager
Provides static methods and properties for managing flyout screens that display overlay content on top of associated controls. A flyout is a lightweight popup that appears temporarily to display content such as notifications, settings, or contextual information.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadFlyoutManager : BaseSplashManager
Constructors
RadFlyoutManager()
Declaration
public RadFlyoutManager()
Properties
ActivateAssociatedFormOnClose
Gets or sets a value indicating whether the associated form will be activated and brought to focus when the flyout is closed. This property controls the focus behavior after the flyout disappears.
Declaration
public static bool ActivateAssociatedFormOnClose { get; set; }
Property Value
System.Boolean
true if the associated form should be activated when the flyout closes; otherwise, false. |
FlyoutInstance
Gets or sets the current flyout screen instance used for displaying flyout content. If no instance exists, a new FlyoutScreen will be created automatically.
Declaration
public static FlyoutScreen FlyoutInstance { get; set; }
Property Value
FlyoutScreen
The current FlyoutScreen instance. |
IsActive
Gets a value indicating whether a flyout screen is currently active and displayed.
Declaration
public static bool IsActive { get; }
Property Value
System.Boolean
true if a flyout screen is currently open; otherwise, false. |
Methods
Close()
Closes the currently active flyout form and hides it from view. If no flyout is currently displayed, this method has no effect.
Declaration
public static void Close()
Show(Control, Type)
Displays a flyout with an overlay form containing content of the specified type, positioned relative to the associated control. The flyout content is created dynamically based on the provided type.
Declaration
public static void Show(Control controlToAssociate, Type flyoutContentType)
Parameters
System.Windows.Forms.Control
controlToAssociate
The control that the flyout will be positioned relative to and associated with. |
System.Type
flyoutContentType
The type of control or user control to create and display as the flyout content. |
Events
ContentCreated
Occurs when the flyout content control has been created and initialized, but before it is displayed. This event allows customization of the content before it becomes visible to the user. Note that the control is created on a separate thread and it is required to use BeginInvoke/Invoke when accessing it to prevent cross-thread exceptions. Note that this is a static event and you need to explicitly unsubscribe from it to prevent memory leaks. Each object subscribed to this event cannot be garbage collected.
Declaration
public static event ContentCreatedEventHandler ContentCreated
Event Type
ContentCreatedEventHandler
|
FlyoutClosed
Occurs when the flyout form has been closed and is no longer visible. The event provides access to the flyout content that was displayed. Note that the control is created on a separate thread and it is required to use BeginInvoke/Invoke when accessing it to prevent cross-thread exceptions. Note that this is a static event and you need to explicitly unsubscribe from it to prevent memory leaks. Each object subscribed to this event cannot be garbage collected.
Declaration
public static event FlyoutClosedEventHandler FlyoutClosed
Event Type
FlyoutClosedEventHandler
|