# HideIfAttribute

Hide this property if a given property within the same class has the given value. Used typically in the Editor Inspector.

- Kind: attribute
- Assembly: `Sandbox.Engine`
- Inherits: [ConditionalVisibilityAttribute](/api/ConditionalVisibilityAttribute)

## Constructors

- [`HideIfAttribute`](/api/HideIfAttribute/.ctor)

## Properties

- [`PropertyName`](/api/HideIfAttribute/PropertyName): Property name to test.
- [`Value`](/api/HideIfAttribute/Value): Property value to test against.

## Methods

- [`TestCondition`](/api/HideIfAttribute/TestCondition)
