# PopupFlyoutBaseImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/primitives/trait-popupflyoutbaseimpl/

**trait** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

```rust
trait PopupFlyoutBaseImpl: FlyoutBaseImpl + $crate::Upcast<PopupFlyoutBase>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/flyouts/popup_flyout_base.rs#L114)

## Members

- [`hide_core`](#function-hide_core)
- [`show_at_core`](#function-show_at_core)
- [`show_at_rect_core`](#function-show_at_rect_core)
- [`on_opening`](#function-on_opening)
- [`on_closing`](#function-on_closing)
- [`create_presenter`](#function-create_presenter)

<a id="function-hide_core"></a>

### hide_core

```rust
fn hide_core(this: &Self, can_cancel: bool) -> bool
```

Hides the flyout; `can_cancel` tells whether the `Closing` event
is raised and may cancel. Returns true if the action was handled.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/flyouts/popup_flyout_base.rs#L114)

<a id="function-show_at_core"></a>

### show_at_core

```rust
fn show_at_core(this: &Self, placement_target: &Control, show_at_pointer: bool) -> bool
```

Shows the flyout at the given control, at the pointer location
when `show_at_pointer`. Returns true if the action was handled.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/flyouts/popup_flyout_base.rs#L114)

<a id="function-show_at_rect_core"></a>

### show_at_rect_core

```rust
fn show_at_rect_core(this: &Self, placement_target: &Control, placement_rect: Rect) -> bool
```

Shows the flyout below an explicit rectangle in the target's
coordinates. The popup positioner applies RTL and screen constraints.
This request does not modify the flyout's placement properties.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/flyouts/popup_flyout_base.rs#L114)

<a id="function-on_opening"></a>

### on_opening

```rust
fn on_opening(this: &Self, args: &CancelEventArgs)
```

Raises the `Opening` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/flyouts/popup_flyout_base.rs#L114)

<a id="function-on_closing"></a>

### on_closing

```rust
fn on_closing(this: &Self, args: &CancelEventArgs)
```

Raises the `Closing` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/flyouts/popup_flyout_base.rs#L114)

<a id="function-create_presenter"></a>

### create_presenter

```rust
fn create_presenter(this: &Self) -> Ref<Control>
```

Used to create the content the flyout displays.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/flyouts/popup_flyout_base.rs#L114)

## Trait implementations

- [`PopupFlyoutBaseImpl`](/docs/0.5.0/api/ferroui-controls/primitives/trait-popupflyoutbaseimpl/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
