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.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadFlyoutManager : BaseSplashManager

Inheritance: objectBaseSplashManagerRadFlyoutManager

Inherited Members BaseSplashManager.FormLoadBaseSplashManager.FormShown

Constructors

RadFlyoutManager()

Declaration

cs-api-definition
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

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

Property Value

bool

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

cs-api-definition
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

cs-api-definition
public static bool IsActive { get; }

Property Value

bool

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

cs-api-definition
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

cs-api-definition
public static void Show(Control controlToAssociate, Type flyoutContentType)

Parameters

controlToAssociate

Control

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

flyoutContentType

Type

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

cs-api-definition
public static event ContentCreatedEventHandler ContentCreated

Event Value

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

cs-api-definition
public static event FlyoutClosedEventHandler FlyoutClosed

Event Value

FlyoutClosedEventHandler