Class ColorPickerButton
- Namespace
- Forma
- Assembly
- Forma.dll
Button that displays a color and exposes a child ColorPicker popup.
public sealed class ColorPickerButton : BaseButton, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IDisposable
- Inheritance
-
ColorPickerButton
- Implements
- Inherited Members
Constructors
ColorPickerButton()
public ColorPickerButton()
Properties
Color
public Color Color { get; set; }
Property Value
- Color
EditAlpha
public bool EditAlpha { get; set; }
Property Value
Picker
public ColorPicker Picker { get; }
Property Value
Popup
public ColorPickerPopupPanel Popup { get; }
Property Value
Events
ColorChanged
public event Action<ColorPickerButton, Color> ColorChanged
Event Type
- Action<ColorPickerButton, Color>
PopupClosed
Raised whenever the picker popup closes, matching Godot's ColorPickerButton.popup_closed.
public event EventHandler PopupClosed