# Sandbox.UI.GradientStopPopup

Panel popup for editing a gradient's color and opacity stops.

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.Popup](/api/Sandbox.UI.Popup)
- Modifiers: sealed

## Constructors

- [`GradientStopPopup`](/api/Sandbox.UI.GradientStopPopup/.ctor): Edits a gradient property and stores saved presets in the supplied cookies or the current game's cookies.

## Properties

- [`DefaultPresets`](/api/Sandbox.UI.GradientStopPopup/DefaultPresets): Built-in gradients shown in the preset palette.

## Methods

- [`OnButtonTyped`](/api/Sandbox.UI.GradientStopPopup/OnButtonTyped): Escape dismisses the stop editor.
- [`Tick`](/api/Sandbox.UI.GradientStopPopup/Tick): Update the popup after a change to its property elsewhere.
