New to Telerik UI for WinFormsStart a free 30-day trial

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.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadFlyoutManager : BaseSplashManager

Inheritance: objectBaseSplashManagerRadFlyoutManager

Inherited Members BaseSplashManager.FormLoadBaseSplashManager.FormShown

Constructors

C#
public RadFlyoutManager()

Properties

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.

C#
public static bool ActivateAssociatedFormOnClose { get; set; }
Property Value:

true if the associated form should be activated when the flyout closes; otherwise, false.

Gets or sets the current flyout screen instance used for displaying flyout content. If no instance exists, a new FlyoutScreen will be created automatically.

C#
public static FlyoutScreen FlyoutInstance { get; set; }
Property Value:

The current FlyoutScreen instance.

Gets a value indicating whether a flyout screen is currently active and displayed.

C#
public static bool IsActive { get; }
Property Value:

true if a flyout screen is currently open; otherwise, false.

Methods

Closes the currently active flyout form and hides it from view. If no flyout is currently displayed, this method has no effect.

C#
public static void Close()

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.

C#
public static void Show(Control controlToAssociate, Type flyoutContentType)
Parameters:controlToAssociateControl

The control that the flyout will be positioned relative to and associated with.

flyoutContentTypeType

The type of control or user control to create and display as the flyout content.

Events

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.

C#
public static event ContentCreatedEventHandler ContentCreated

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.

C#
public static event FlyoutClosedEventHandler FlyoutClosed