# RelativePanel

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/struct-relativepanel/

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

```rust
struct RelativePanel
```

A panel that arranges its children relative to each other and to the
panel itself.

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

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`above_property`](#function-above_property)
- [`get_above`](#function-get_above)
- [`set_above`](#function-set_above)
- [`align_bottom_with_panel_property`](#function-align_bottom_with_panel_property)
- [`get_align_bottom_with_panel`](#function-get_align_bottom_with_panel)
- [`set_align_bottom_with_panel`](#function-set_align_bottom_with_panel)
- [`align_bottom_with_property`](#function-align_bottom_with_property)
- [`get_align_bottom_with`](#function-get_align_bottom_with)
- [`set_align_bottom_with`](#function-set_align_bottom_with)
- [`align_horizontal_center_with_panel_property`](#function-align_horizontal_center_with_panel_property)
- [`get_align_horizontal_center_with_panel`](#function-get_align_horizontal_center_with_panel)
- [`set_align_horizontal_center_with_panel`](#function-set_align_horizontal_center_with_panel)
- [`align_horizontal_center_with_property`](#function-align_horizontal_center_with_property)
- [`get_align_horizontal_center_with`](#function-get_align_horizontal_center_with)
- [`set_align_horizontal_center_with`](#function-set_align_horizontal_center_with)
- [`align_left_with_panel_property`](#function-align_left_with_panel_property)
- [`get_align_left_with_panel`](#function-get_align_left_with_panel)
- [`set_align_left_with_panel`](#function-set_align_left_with_panel)
- [`align_left_with_property`](#function-align_left_with_property)
- [`get_align_left_with`](#function-get_align_left_with)
- [`set_align_left_with`](#function-set_align_left_with)
- [`align_right_with_panel_property`](#function-align_right_with_panel_property)
- [`get_align_right_with_panel`](#function-get_align_right_with_panel)
- [`set_align_right_with_panel`](#function-set_align_right_with_panel)
- [`align_right_with_property`](#function-align_right_with_property)
- [`get_align_right_with`](#function-get_align_right_with)
- [`set_align_right_with`](#function-set_align_right_with)
- [`align_top_with_panel_property`](#function-align_top_with_panel_property)
- [`get_align_top_with_panel`](#function-get_align_top_with_panel)
- [`set_align_top_with_panel`](#function-set_align_top_with_panel)
- [`align_top_with_property`](#function-align_top_with_property)
- [`get_align_top_with`](#function-get_align_top_with)
- [`set_align_top_with`](#function-set_align_top_with)
- [`align_vertical_center_with_panel_property`](#function-align_vertical_center_with_panel_property)
- [`get_align_vertical_center_with_panel`](#function-get_align_vertical_center_with_panel)
- [`set_align_vertical_center_with_panel`](#function-set_align_vertical_center_with_panel)
- [`align_vertical_center_with_property`](#function-align_vertical_center_with_property)
- [`get_align_vertical_center_with`](#function-get_align_vertical_center_with)
- [`set_align_vertical_center_with`](#function-set_align_vertical_center_with)
- [`below_property`](#function-below_property)
- [`get_below`](#function-get_below)
- [`set_below`](#function-set_below)
- [`left_of_property`](#function-left_of_property)
- [`get_left_of`](#function-get_left_of)
- [`set_left_of`](#function-set_left_of)
- [`right_of_property`](#function-right_of_property)
- [`get_right_of`](#function-get_right_of)
- [`set_right_of`](#function-set_right_of)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

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

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

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<RelativePanel>
```

Returns a strong reference to this object.

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

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

### construct

```rust
fn construct() -> Self
```

Creates the class data; see `ferroui_base::FerroObject::construct`.

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

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

### new

```rust
fn new() -> Ref<Self>
```



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

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

### above_property

```rust
fn above_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `Above` attached property.

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

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

### get_above

```rust
fn get_above(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `Above` attached property for an object.

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

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

### set_above

```rust
fn set_above(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `Above` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### align_bottom_with_panel_property

```rust
fn align_bottom_with_panel_property() -> &'static AttachedProperty<bool>
```

Defines the `AlignBottomWithPanel` attached property.

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

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

### get_align_bottom_with_panel

```rust
fn get_align_bottom_with_panel(obj: &FerroObject) -> bool
```

Gets the value of the `AlignBottomWithPanel` attached property for an object.

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

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

### set_align_bottom_with_panel

```rust
fn set_align_bottom_with_panel(obj: &FerroObject, value: bool)
```

Sets the value of the `AlignBottomWithPanel` attached property for an object.

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

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

### align_bottom_with_property

```rust
fn align_bottom_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `AlignBottomWith` attached property.

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

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

### get_align_bottom_with

```rust
fn get_align_bottom_with(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `AlignBottomWith` attached property for an object.

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

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

### set_align_bottom_with

```rust
fn set_align_bottom_with(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `AlignBottomWith` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### align_horizontal_center_with_panel_property

```rust
fn align_horizontal_center_with_panel_property() -> &'static AttachedProperty<bool>
```

Defines the `AlignHorizontalCenterWithPanel` attached property.

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

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

### get_align_horizontal_center_with_panel

```rust
fn get_align_horizontal_center_with_panel(obj: &FerroObject) -> bool
```

Gets the value of the `AlignHorizontalCenterWithPanel` attached property for an object.

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

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

### set_align_horizontal_center_with_panel

```rust
fn set_align_horizontal_center_with_panel(obj: &FerroObject, value: bool)
```

Sets the value of the `AlignHorizontalCenterWithPanel` attached property for an object.

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

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

### align_horizontal_center_with_property

```rust
fn align_horizontal_center_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `AlignHorizontalCenterWith` attached property.

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

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

### get_align_horizontal_center_with

```rust
fn get_align_horizontal_center_with(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `AlignHorizontalCenterWith` attached property for an object.

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

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

### set_align_horizontal_center_with

```rust
fn set_align_horizontal_center_with(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `AlignHorizontalCenterWith` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### align_left_with_panel_property

```rust
fn align_left_with_panel_property() -> &'static AttachedProperty<bool>
```

Defines the `AlignLeftWithPanel` attached property.

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

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

### get_align_left_with_panel

```rust
fn get_align_left_with_panel(obj: &FerroObject) -> bool
```

Gets the value of the `AlignLeftWithPanel` attached property for an object.

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

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

### set_align_left_with_panel

```rust
fn set_align_left_with_panel(obj: &FerroObject, value: bool)
```

Sets the value of the `AlignLeftWithPanel` attached property for an object.

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

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

### align_left_with_property

```rust
fn align_left_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `AlignLeftWith` attached property.

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

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

### get_align_left_with

```rust
fn get_align_left_with(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `AlignLeftWith` attached property for an object.

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

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

### set_align_left_with

```rust
fn set_align_left_with(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `AlignLeftWith` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### align_right_with_panel_property

```rust
fn align_right_with_panel_property() -> &'static AttachedProperty<bool>
```

Defines the `AlignRightWithPanel` attached property.

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

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

### get_align_right_with_panel

```rust
fn get_align_right_with_panel(obj: &FerroObject) -> bool
```

Gets the value of the `AlignRightWithPanel` attached property for an object.

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

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

### set_align_right_with_panel

```rust
fn set_align_right_with_panel(obj: &FerroObject, value: bool)
```

Sets the value of the `AlignRightWithPanel` attached property for an object.

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

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

### align_right_with_property

```rust
fn align_right_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `AlignRightWith` attached property.

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

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

### get_align_right_with

```rust
fn get_align_right_with(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `AlignRightWith` attached property for an object.

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

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

### set_align_right_with

```rust
fn set_align_right_with(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `AlignRightWith` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### align_top_with_panel_property

```rust
fn align_top_with_panel_property() -> &'static AttachedProperty<bool>
```

Defines the `AlignTopWithPanel` attached property.

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

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

### get_align_top_with_panel

```rust
fn get_align_top_with_panel(obj: &FerroObject) -> bool
```

Gets the value of the `AlignTopWithPanel` attached property for an object.

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

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

### set_align_top_with_panel

```rust
fn set_align_top_with_panel(obj: &FerroObject, value: bool)
```

Sets the value of the `AlignTopWithPanel` attached property for an object.

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

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

### align_top_with_property

```rust
fn align_top_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `AlignTopWith` attached property.

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

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

### get_align_top_with

```rust
fn get_align_top_with(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `AlignTopWith` attached property for an object.

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

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

### set_align_top_with

```rust
fn set_align_top_with(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `AlignTopWith` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### align_vertical_center_with_panel_property

```rust
fn align_vertical_center_with_panel_property() -> &'static AttachedProperty<bool>
```

Defines the `AlignVerticalCenterWithPanel` attached property.

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

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

### get_align_vertical_center_with_panel

```rust
fn get_align_vertical_center_with_panel(obj: &FerroObject) -> bool
```

Gets the value of the `AlignVerticalCenterWithPanel` attached property for an object.

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

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

### set_align_vertical_center_with_panel

```rust
fn set_align_vertical_center_with_panel(obj: &FerroObject, value: bool)
```

Sets the value of the `AlignVerticalCenterWithPanel` attached property for an object.

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

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

### align_vertical_center_with_property

```rust
fn align_vertical_center_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `AlignVerticalCenterWith` attached property.

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

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

### get_align_vertical_center_with

```rust
fn get_align_vertical_center_with(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `AlignVerticalCenterWith` attached property for an object.

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

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

### set_align_vertical_center_with

```rust
fn set_align_vertical_center_with(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `AlignVerticalCenterWith` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### below_property

```rust
fn below_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `Below` attached property.

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

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

### get_below

```rust
fn get_below(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `Below` attached property for an object.

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

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

### set_below

```rust
fn set_below(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `Below` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### left_of_property

```rust
fn left_of_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `LeftOf` attached property.

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

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

### get_left_of

```rust
fn get_left_of(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `LeftOf` attached property for an object.

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

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

### set_left_of

```rust
fn set_left_of(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `LeftOf` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

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

### right_of_property

```rust
fn right_of_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `RightOf` attached property.

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

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

### get_right_of

```rust
fn get_right_of(obj: &FerroObject) -> Option<BoxedValue>
```

Gets the value of the `RightOf` attached property for an object.

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

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

### set_right_of

```rust
fn set_right_of(obj: &FerroObject, value: Option<BoxedValue>)
```

Sets the value of the `RightOf` attached property for an object. The
layout uses the value when it holds a control of the panel; see
`Control::boxed`.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ControlImplExt`](/docs/0.5.0/api/ferroui-controls/trait-controlimplext/)
- [`PanelImplExt`](/docs/0.5.0/api/ferroui-controls/trait-panelimplext/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`InputElementImplExt`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimplext/)
- [`InteractiveImplExt`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimplext/)
- [`LayoutableImplExt`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimplext/)
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`StyledElementImplExt`](/docs/0.5.0/api/ferroui-base/trait-styledelementimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- [`VisualImplExt`](/docs/0.5.0/api/ferroui-base/trait-visualimplext/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<RelativePanel>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`StyledElementImpl`](/docs/0.5.0/api/ferroui-base/trait-styledelementimpl/)
- [`VisualImpl`](/docs/0.5.0/api/ferroui-base/trait-visualimpl/)
- [`InteractiveImpl`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimpl/)
- [`InputElementImpl`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimpl/)
- [`ControlImpl`](/docs/0.5.0/api/ferroui-controls/trait-controlimpl/)
- [`PanelImpl`](/docs/0.5.0/api/ferroui-controls/trait-panelimpl/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`LayoutableImpl`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimpl/)

## Availability

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