# IProvideValueTarget

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-markup-xaml/trait-iprovidevaluetarget/

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

```rust
trait IProvideValueTarget
```

Tells a markup extension what its value is provided for.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml/xaml_types.rs#L10)

## Members

- [`target_object`](#function-target_object)
- [`target_property`](#function-target_property)

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

### target_object

```rust
fn target_object(self: &Self) -> Option<BoxedValue>
```

The object whose property is being set.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml/xaml_types.rs#L12)

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

### target_property

```rust
fn target_property(self: &Self) -> Option<BoxedValue>
```

The property being set: a registered property
(`&'static FerroProperty`), a plain property
(`Rc<dyn IPropertyInfo>`), or anything else the document provides
(the name of a property).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml/xaml_types.rs#L18)

## Trait implementations

- [`IProvideValueTarget`](/docs/0.5.0/api/ferroui-markup-xaml/trait-iprovidevaluetarget/)

## Availability

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