# UiInfoAttribute class

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

```cs
[AttributeUsage(AttributeTargets.All, AllowMultiple = false)]
public sealed class UiInfoAttribute : Attribute
```

Assign this attribute to types or values if they are associated with a detailed info text.

## Constructors

- [UiInfoAttribute](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.uiinfoattribute/ctor.md): Create a new attribute.

## Properties

- [Info](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.uiinfoattribute/info.md): Gets the user-interface info.

## Methods

- [GetInfo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.uiinfoattribute/getinfo.md): (2 overloads, static) Extract the info (if any) attached to the given field.
