# MacOSProperties

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/platform/struct-macosproperties/

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

```rust
struct MacOSProperties
```

Set of MacOS specific attached properties that allow deeper
customization of the application per platform.

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

## Members

- [`TYPE`](#assoc_const-type)
- [`is_template_icon_property`](#function-is_template_icon_property)
- [`set_is_template_icon`](#function-set_is_template_icon)
- [`get_is_template_icon`](#function-get_is_template_icon)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this type.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/mac_os_properties.rs#L8)

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

### is_template_icon_property

```rust
fn is_template_icon_property() -> &'static AttachedProperty<bool>
```

Defines the IsTemplateIcon attached property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/mac_os_properties.rs#L10)

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

### set_is_template_icon

```rust
fn set_is_template_icon(obj: &TrayIcon, value: bool)
```

A Boolean value that determines whether the TrayIcon image
represents a template image.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/mac_os_properties.rs#L29)

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

### get_is_template_icon

```rust
fn get_is_template_icon(obj: &TrayIcon) -> bool
```

Returns a Boolean value that indicates whether the TrayIcon image is
a template image.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/mac_os_properties.rs#L35)

## Trait implementations

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

## Availability

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