# ComparisonConditionType

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-interactivity/enum-comparisonconditiontype/

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

```rust
enum ComparisonConditionType
```

Represents one ternary condition.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactivity/contract/comparison_condition_type.rs#L5)

## Members

- [`Equal`](#variant-equal)
- [`NotEqual`](#variant-notequal)
- [`LessThan`](#variant-lessthan)
- [`LessThanOrEqual`](#variant-lessthanorequal)
- [`GreaterThan`](#variant-greaterthan)
- [`GreaterThanOrEqual`](#variant-greaterthanorequal)

<a id="variant-equal"></a>

### Equal

```rust
Equal
```

Specifies an equal condition.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactivity/contract/comparison_condition_type.rs#L8)

<a id="variant-notequal"></a>

### NotEqual

```rust
NotEqual
```

Specifies a not equal condition.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactivity/contract/comparison_condition_type.rs#L10)

<a id="variant-lessthan"></a>

### LessThan

```rust
LessThan
```

Specifies a less than condition.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactivity/contract/comparison_condition_type.rs#L12)

<a id="variant-lessthanorequal"></a>

### LessThanOrEqual

```rust
LessThanOrEqual
```

Specifies a less than or equal condition.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactivity/contract/comparison_condition_type.rs#L14)

<a id="variant-greaterthan"></a>

### GreaterThan

```rust
GreaterThan
```

Specifies a greater than condition.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactivity/contract/comparison_condition_type.rs#L16)

<a id="variant-greaterthanorequal"></a>

### GreaterThanOrEqual

```rust
GreaterThanOrEqual
```

Specifies a greater than or equal condition.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactivity/contract/comparison_condition_type.rs#L18)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ToString`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`
- `Display`
- [`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/).
