# ButtonLabels

> The dialog's button labels, in display order, when DialogEventInfo.Source is DialogSource.NativeMessageBox; null when DialogEventInfo.Source is DialogSource.ManagedCustomWindow. Backed by a private copy, so it can't be mutated by a subscriber.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public readonly IReadOnlyList<string> ButtonLabels
```
