# CommandStyleAttribute class

Namespace: [Rhino.Commands](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.commands.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
[AttributeUsage(AttributeTargets.Class)]
public sealed class CommandStyleAttribute : Attribute
```

Decorates [commands](https://developer.rhino3d.com/api/rhinocommon/type/rhino.commands.command.md) to provide styles.

## Constructors

- [CommandStyleAttribute](https://developer.rhino3d.com/api/rhinocommon/type/rhino.commands.commandstyleattribute/ctor.md): Initializes a new command style attribute class.

## Properties

- [Styles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.commands.commandstyleattribute/styles.md): Gets the associated style.
