# StylePropertyName

> Defines the name of a style property.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Implements:** [IEquatable\<StylePropertyName>](https://learn.microsoft.com/dotnet/api/system.iequatable-1), [IEquatable\<StylePropertyId>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct StylePropertyName : IEquatable<StylePropertyName>, IEquatable<StylePropertyId>
```

## Constructors

| Constructor                                                                                                          | Description                                                                                                                                            |
| -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [StylePropertyName(System.String)](/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname/ctor.md) | Initializes and returns an instance of [StylePropertyName](/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname.md) from a string. |

## Static Methods

| Method                                                                                                     | Description                                       |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| [IsNullOrEmpty](/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname/isnullorempty.md) | Checks if the StylePropertyName is null or empty. |

## Operators

| Operator                                                                                                     | Description                                         |
| ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------- |
| [operator ==](/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname/op-equality.md)       | Determines if the StylePropertyNames are equal.     |
| [StylePropertyName](/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname/op-implicit.md) | Implicit string operator.                           |
| [operator !=](/engine/6000.6/script-reference/unityengine/uielements/stylepropertyname/op-inequality.md)     | Determines if the StylePropertyNames are not equal. |
