Show / Hide Table of Contents

Class ColorPickerPopup

A window that allows a user to select a color in various ways.

Inheritance
object
ScreenObject
ScreenSurface
Console
Window
ColorPickerPopup
Implements
IDisposable
IScreenSurfaceEditable
IScreenSurface
IScreenObject
IPositionable
IComponentHost
ISurface
ISurfaceSettable
ICellSurfaceResize
IWindowData
Inherited Members
Window.PreviousMouseLeftButtonDown
Window.ProcessMouse(MouseScreenObjectState)
Window.ProcessKeyboard(Keyboard)
Window.OnVisibleChanged()
Window.OnShown()
Window.OnHidden()
Window.Show()
Window.Hide()
Window.Center()
Window.ToString()
Window.Ask(string, string, string, Action<bool, string>, StringValidation.Validator, string, Colors)
Window.Ask(ColoredString, string, string, Action<bool, string>, StringValidation.Validator, string, Colors)
Window.Prompt(string, string, string, Action<bool>, Colors)
Window.Prompt(ColoredString, string, string, Action<bool>, Colors)
Window.Message(string, string, Action, Colors)
Window.Message(ColoredString, string, Action, Colors)
Window.Controls
Window.TitleAreaY
Window.TitleAreaX
Window.TitleAreaLength
Window.BorderLineStyle
Window.CellAtDragPosition
Window.PreviousMouseExclusiveDrag
Window.AddedToParent
Window.IsDragging
Window.TitleAlignment
Window.IsModal
Window.CanDrag
Window.CloseOnEscKey
Window.DialogResult
Window.IsModalDefault
Window.Title
Window.Closed
Window.Shown
Console.OnFocusLost()
Console.OnFocused()
Console.Cursor
Console.AutoCursorOnFocus
ScreenSurface.MouseState_EnteredWithButtonDown
ScreenSurface.IsMouseOver
ScreenSurface.Resize(int, int, int, int, bool)
ScreenSurface.Resize(int, int, bool)
ScreenSurface.UpdateAbsolutePosition()
ScreenSurface.Render(TimeSpan)
ScreenSurface.Update(TimeSpan)
ScreenSurface.OnIsDirtyChanged()
ScreenSurface.OnFontChanged(IFont, Point)
ScreenSurface.OnSurfaceChanged(ICellSurface)
ScreenSurface.OnRendererChanged()
ScreenSurface.CallOnHostUpdated()
ScreenSurface.Dispose(bool)
ScreenSurface.Dispose()
ScreenSurface.OnMouseEnter(MouseScreenObjectState)
ScreenSurface.OnMouseExit(MouseScreenObjectState)
ScreenSurface.OnMouseMove(MouseScreenObjectState)
ScreenSurface.OnMouseLeftClicked(MouseScreenObjectState)
ScreenSurface.OnRightMouseClicked(MouseScreenObjectState)
ScreenSurface.LostMouse(MouseScreenObjectState)
ScreenSurface.ForceRendererRefresh
ScreenSurface.DefaultRendererName
ScreenSurface.Renderer
ScreenSurface.QuietSurfaceHandling
ScreenSurface.Surface
ScreenSurface.IsDirty
ScreenSurface.Font
ScreenSurface.FontSize
ScreenSurface.Tint
ScreenSurface.AbsoluteArea
ScreenSurface.UsePixelPositioning
ScreenSurface.WidthPixels
ScreenSurface.HeightPixels
ScreenSurface.Width
ScreenSurface.Height
ScreenSurface.ViewWidth
ScreenSurface.ViewHeight
ScreenSurface.ViewPosition
ScreenSurface.MoveToFrontOnMouseClick
ScreenSurface.FocusOnMouseClick
ScreenSurface.MouseButtonClicked
ScreenSurface.MouseMove
ScreenSurface.MouseExit
ScreenSurface.MouseEnter
ScreenObject.ComponentsUpdate
ScreenObject.ComponentsRender
ScreenObject.ComponentsMouse
ScreenObject.ComponentsKeyboard
ScreenObject.ComponentsEmpty
ScreenObject.OnParentChanged(IScreenObject, IScreenObject)
ScreenObject.OnPositionChanging(Point, Point)
ScreenObject.OnPositionChanged(Point, Point)
ScreenObject.OnEnabledChanged()
ScreenObject.GetSadComponents<TComponent>()
ScreenObject.GetSadComponent<TComponent>()
ScreenObject.HasSadComponent<TComponent>(out TComponent)
ScreenObject.OnSadComponentAdded(IComponent)
ScreenObject.OnSadComponentRemoved(IComponent)
ScreenObject.SortComponents()
ScreenObject.Components_FilterAddItem(IComponent, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.Components_FilterRemoveItem(IComponent, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.Components_Sort(List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.OnSerializingMethod(StreamingContext)
ScreenObject.SortOrder
ScreenObject.Children
ScreenObject.Parent
ScreenObject.Position
ScreenObject.AbsolutePosition
ScreenObject.IgnoreParentPosition
ScreenObject.IsVisible
ScreenObject.IsEnabled
ScreenObject.IsFocused
ScreenObject.FocusedMode
ScreenObject.IsExclusiveMouse
ScreenObject.UseKeyboard
ScreenObject.UseMouse
ScreenObject.SadComponents
ScreenObject.ParentChanged
ScreenObject.PositionChanged
ScreenObject.PositionChanging
ScreenObject.IsVisibleChanged
ScreenObject.IsEnabledChanged
ScreenObject.FocusLost
ScreenObject.Focused
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.UI.Windows
Assembly: SadConsole.Extended.dll
Syntax
public class ColorPickerPopup : Window, IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, IPositionable, IComponentHost, ISurface, ISurfaceSettable, ICellSurfaceResize, IWindowData

Constructors

ColorPickerPopup()

Creates a new instance of the window.

Declaration
public ColorPickerPopup()

Properties

PreviousColors

An array of colors previously selected.

Declaration
public Color[] PreviousColors { get; }
Property Value
Type Description
Color[]

SelectedColor

The color selected.

Declaration
public Color SelectedColor { get; set; }
Property Value
Type Description
Color

Methods

AddPreviousColor(Color)

Adds a color to the array of previous colors.

Declaration
public void AddPreviousColor(Color color)
Parameters
Type Name Description
Color color

DrawBorder()

Draws the border lines around the controls.

Declaration
protected override void DrawBorder()
Overrides
Window.DrawBorder()

Show(bool)

Displays this window.

Declaration
public override void Show(bool modal)
Parameters
Type Name Description
bool modal

When true, the window will be displayed as modal; otherwise false.

Overrides
Window.Show(bool)

Implements

IDisposable
IScreenSurfaceEditable
IScreenSurface
IScreenObject
IPositionable
IComponentHost
ISurface
ISurfaceSettable
ICellSurfaceResize
IWindowData

Extension Methods

ExtendedLib_SurfaceExtensions.PrintFadingText(IScreenSurface, ColoredString, Point, TimeSpan, ICellEffect?)
ExtendedLib_SurfaceExtensions.PrintFadingText(IScreenSurface, string, Point, TimeSpan, ICellEffect?)
ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX