# WindowBaseImpl

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

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

```rust
trait WindowBaseImpl: TopLevelImpl + $crate::Upcast<WindowBase>
```

The overridable members introduced by the class.

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

## Members

- [`hide`](#function-hide)
- [`show`](#function-show)
- [`on_resized`](#function-on_resized)
- [`arrange_set_bounds`](#function-arrange_set_bounds)
- [`is_visible_changed`](#function-is_visible_changed)

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

### hide

```rust
fn hide(this: &Self)
```

Hides the window.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/window_base.rs#L44)

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

### show

```rust
fn show(this: &Self)
```

Shows the window.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/window_base.rs#L44)

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

### on_resized

```rust
fn on_resized(this: &Self, e: &WindowResizedEventArgs)
```

Raises the `Resized` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/window_base.rs#L44)

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

### arrange_set_bounds

```rust
fn arrange_set_bounds(this: &Self, size: Size) -> Size
```

Called during the arrange pass to set the size of the window;
returns the size to arrange the content with.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/window_base.rs#L44)

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

### is_visible_changed

```rust
fn is_visible_changed(this: &Self, e: &FerroPropertyChangedEventArgs<'_>)
```

Called when the `IsVisible` property changes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/window_base.rs#L44)

## Trait implementations

- [`WindowBaseImpl`](/docs/0.5.0/api/ferroui-controls/trait-windowbaseimpl/)

## Availability

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