# UxmlValueBounds

> Restricts the value of an attribute to be within the specified bounds.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Inherits from:** [UxmlTypeRestriction](/engine/6000.5/script-reference/unityengine/uielements/uxmltyperestriction.md)
* **Implements:** [IEquatable\<UxmlTypeRestriction>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public class UxmlValueBounds : UxmlTypeRestriction, IEquatable<UxmlTypeRestriction>
```

## Properties

| Property                                                                                           | Description                                                                                                        |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| [excludeMax](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds/excludemax.md) | True if the bounds exclude [\_max](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds/max.md). |
| [excludeMin](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds/excludemin.md) | True if the bounds exclude [\_min](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds/min.md). |
| [max](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds/max.md)               | The maximum value for the attribute.                                                                               |
| [min](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds/min.md)               | The minimum value for the attribute.                                                                               |

## Methods

| Method                                                                                     | Description                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Equals](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds/equals.md) | Indicates whether the current [UxmlValueBounds](/engine/6000.5/script-reference/unityengine/uielements/uxmlvaluebounds.md) object is equal to another object of the same type. |
