# element_property

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui-controls/function-element_property/

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

```rust
fn element_property<V: 'static, T: ObjectType, TV: 'static>(name: &str, element: &ferroui_base::Ref<T>, property: ferroui_system::component_model::PropertyPath<ferroui_base::Ref<T>, TV>, set: impl Fn(&ferroui_base::Ref<T>, TV) -> () + 'static) -> ferroui_reactiveui::SettableProperty<std::rc::Rc<V>, TV>
```

The property `property` of the element `element` (named `name` in the document of the view), as
the side of a binding the binding writes with `set` (`v => v.Element.Property`).

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

## Availability

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