# VirtualizingLayoutContextImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-repeater/layouts/trait-virtualizinglayoutcontextimpl/

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

```rust
trait VirtualizingLayoutContextImpl: LayoutContextImpl + $crate::Upcast<VirtualizingLayoutContext>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

## Members

- [`item_count_core`](#function-item_count_core)
- [`get_item_at_core`](#function-get_item_at_core)
- [`get_or_create_element_at_core`](#function-get_or_create_element_at_core)
- [`recycle_element_core`](#function-recycle_element_core)
- [`visible_rect_core`](#function-visible_rect_core)
- [`realization_rect_core`](#function-realization_rect_core)
- [`recommended_anchor_index_core`](#function-recommended_anchor_index_core)
- [`layout_origin_core`](#function-layout_origin_core)
- [`set_layout_origin_core`](#function-set_layout_origin_core)

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

### item_count_core

```rust
fn item_count_core(this: &Self) -> i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### get_item_at_core

```rust
fn get_item_at_core(this: &Self, index: i32) -> Option<BoxedValue>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### get_or_create_element_at_core

```rust
fn get_or_create_element_at_core(this: &Self, index: i32, options: ElementRealizationOptions) -> Ref<Control>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### recycle_element_core

```rust
fn recycle_element_core(this: &Self, element: &Ref<Control>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### visible_rect_core

```rust
fn visible_rect_core(this: &Self) -> Rect
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### realization_rect_core

```rust
fn realization_rect_core(this: &Self) -> Rect
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### recommended_anchor_index_core

```rust
fn recommended_anchor_index_core(this: &Self) -> i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### layout_origin_core

```rust
fn layout_origin_core(this: &Self) -> Point
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

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

### set_layout_origin_core

```rust
fn set_layout_origin_core(this: &Self, value: Point)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/layout_context.rs#L146)

## Trait implementations

- [`VirtualizingLayoutContextImpl`](/docs/0.5.0/api/ferroui-controls-repeater/layouts/trait-virtualizinglayoutcontextimpl/)

## Availability

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