# PropertyNumericRangeAttribute class

Namespace: [Grasshopper2.Types](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[AttributeUsage(AttributeTargets.Property)]
public sealed class PropertyNumericRangeAttribute : Attribute
```

Assign this attribute to properties of type byte, int, float, double or decimal to specify what sort of numeric slider range is supposed to be associated with it.

## Constructors

- [PropertyNumericRangeAttribute](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.propertynumericrangeattribute/ctor.md): Create a new numeric range attribute.

## Properties

- [Range](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.propertynumericrangeattribute/range.md): Gets the numeric range associated with this attribute.
