# PropertyRegistry

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/struct-propertyregistry/

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

```rust
struct PropertyRegistry
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L121)

## Members

- [`new`](#function-new)
- [`built_in`](#function-built_in)
- [`register`](#function-register)
- [`descriptors`](#function-descriptors)
- [`state`](#function-state)
- [`plan`](#function-plan)
- [`plan_with`](#function-plan_with)

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

### new

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L125)

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

### built_in

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L128)

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

### register

```rust
fn register(self: &mut Self, owner: impl Into<String>, property: PropertyDescriptor) -> Option<PropertyDescriptor>
```

Use "*" for common properties and "@PanelType" for child attached properties.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L395)

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

### descriptors

```rust
fn descriptors(self: &Self, document: &Document, node: NodeId) -> Result<Vec<PropertyDescriptor>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L405)

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

### state

```rust
fn state(self: &Self, document: &Document, nodes: &[NodeId], property: &str) -> Result<PropertyState>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L441)

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

### plan

```rust
fn plan(self: &Self, document: &Document, nodes: &[NodeId], property: &str, value: Option<&str>, policy: ExpressionPolicy) -> Result<Vec<Edit>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L475)

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

### plan_with

```rust
fn plan_with(self: &Self, document: &Document, nodes: &[NodeId], property: &str, value: Option<&str>, policy: ExpressionPolicy, editors: &EditorRegistry) -> Result<Vec<Edit>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/properties.rs#L492)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `Default`

## Availability

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