CustomStyleProperty<T>
Define a custom style property for an element to be retrieved with CustomStyleResolvedEvent.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<CustomStyleProperty<T>>
public struct CustomStyleProperty<T> : IEquatable<CustomStyleProperty<T>>
Constructors
Constructor | Description |
|---|---|
| CustomStyleProperty`1(System.String) | Creates custom property from a string. |
Properties
Property | Description |
|---|---|
| name | Name of the custom property. |