New to Telerik UI for WinForms? Start a free 30-day trial

Displays a flyout content form above an overlay aligned to an associated visible form or control.

Definition

Constructors

C#
public FlyoutScreen()

Properties

Gets or sets the form that hosts the flyout content. The getter creates it on demand when needed.

C#
protected ShapedForm FlyoutForm { get; set; }

Methods

Attaches to the splash/overlay form events.

C#
protected virtual void AttachFormEvents(Form form)
Parameters:formForm

The form

Closes the flyout form.

C#
public override void Close()

Overrides: BaseOverlayScreen.Close()

Creates the separate form that hosts the flyout content.

C#
protected virtual RadFlyoutForm CreateFlyoutContentForm()
Returns:

RadFlyoutForm

The form to use as the flyout content host.

Creates an overlay form.

C#
public override RadOverlayForm CreateFrom()
Returns:

RadOverlayForm

The created form.

Overrides: BaseOverlayScreen.CreateFrom()

Creates an action that positions the overlay over the associated region and centers the flyout form within it when space permits. The overlay is hidden when the associated region has no area.

C#
protected override Action CreateUpdateAction(Point location, Rectangle rect)
Parameters:locationPoint

The screen location of the associated region.

rectRectangle

The visible bounds supplied by UpdateOverlayFormPosition().

Returns:

Action

An action that updates the overlay and flyout form positions and overlay visibility.

Overrides: BaseOverlayScreen.CreateUpdateAction(Point, Rectangle)

Detaches from splash/overlay form events.

C#
protected virtual void DetachFormEvents(Form form)
Parameters:formForm

The form

Shows a an overlay form with flyout content on top of it.

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

The associated control.

flyoutContentTypeType

The type of the flyout content.