# PropertiesViewItem

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-diagnostics/diagnostics/view_models/struct-propertiesviewitem/

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

```rust
struct PropertiesViewItem
```

A row of the property grid: a group of properties, or a property of a group.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L867)

## Members

- [`group`](#function-group)
- [`property_item`](#function-property_item)
- [`from_boxed`](#function-from_boxed)
- [`is_group`](#function-is_group)
- [`name`](#function-name)
- [`group_name`](#function-group_name)
- [`property`](#function-property)
- [`boxed_property`](#function-boxed_property)
- [`children`](#function-children)
- [`item_count`](#function-item_count)
- [`is_pinned`](#function-is_pinned)
- [`set_is_pinned`](#function-set_is_pinned)
- [`is_expanded`](#function-is_expanded)
- [`set_is_expanded`](#function-set_is_expanded)
- [`type_`](#function-type_)
- [`assigned_type`](#function-assigned_type)
- [`property_type`](#function-property_type)
- [`priority`](#function-priority)

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

### group

```rust
fn group(name: String, children: Vec<Rc<PropertiesViewItem>>, is_expanded: bool) -> Rc<Self>
```

The row of the group `name` with the properties `children`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L901)

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

### property_item

```rust
fn property_item(property: PropertyViewModelRef) -> Rc<Self>
```

The row of a property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L913)

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

### from_boxed

```rust
fn from_boxed(value: &BoxedValue) -> Option<Rc<Self>>
```

The row of an untyped value (a data context of a cell).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L925)

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

### is_group

```rust
fn is_group(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L933)

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

### name

```rust
fn name(self: &Self) -> String
```

The name of the group, or of the property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L938)

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

### group_name

```rust
fn group_name(self: &Self) -> String
```

The group of the row: the group itself, or the group of the property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L947)

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

### property

```rust
fn property(self: &Self) -> Option<PropertyViewModelRef>
```

The property of the row; `None` for a group.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L956)

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

### boxed_property

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

The property as a value of its class; `None` for a group.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L961)

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

### children

```rust
fn children(self: &Self) -> Rc<Vec<Rc<PropertiesViewItem>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L965)

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

### item_count

```rust
fn item_count(self: &Self) -> i32
```

The number of properties of a group (the item count of a group header).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L970)

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

### is_pinned

```rust
fn is_pinned(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L974)

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

### set_is_pinned

```rust
fn set_is_pinned(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L978)

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

### is_expanded

```rust
fn is_expanded(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L984)

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

### set_is_expanded

```rust
fn set_is_expanded(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L988)

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

### type_

```rust
fn type_(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L994)

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

### assigned_type

```rust
fn assigned_type(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L998)

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

### property_type

```rust
fn property_type(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L1002)

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

### priority

```rust
fn priority(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/control_details_view_model.rs#L1006)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- `PartialEq`
- [`INotifyPropertyChanged`](/docs/0.5.0/api/ferroui-base/data/model/use-inotifypropertychanged/)
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

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