# AutomationPropertyChangedEventArgs

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

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

```rust
struct AutomationPropertyChangedEventArgs
```

The data of the property changed event of an automation peer.

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

## Members

- [`new`](#function-new)
- [`property`](#function-property)
- [`old_value`](#function-old_value)
- [`new_value`](#function-new_value)

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

### new

```rust
fn new(property: &'static AutomationProperty, old_value: Option<BoxedValue>, new_value: Option<BoxedValue>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/automation_property_changed_event_args.rs#L13)

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

### property

```rust
fn property(self: &Self) -> &'static AutomationProperty
```

The property that changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/automation_property_changed_event_args.rs#L22)

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

### old_value

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

The old value of the property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/automation_property_changed_event_args.rs#L27)

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

### new_value

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

The new value of the property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/automation_property_changed_event_args.rs#L32)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`

## Availability

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