Gorgon
Show / Hide Table of Contents

Class ColorChangedEventArgs

Event arguments for the ColorChanged event.

Inheritance
object
EventArgs
ColorChangedEventArgs
Inherited Members
EventArgs.Empty
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.UI.Controls
Assembly: Gorgon.Editor.API.dll
Syntax
public class ColorChangedEventArgs : EventArgs

Constructors

| Edit this page View Source

ColorChangedEventArgs(GorgonColor, GorgonColor)

Initializes a new instance of the ColorChangedEventArgs class.

Declaration
public ColorChangedEventArgs(GorgonColor newColor, GorgonColor originalColor)
Parameters
Type Name Description
GorgonColor newColor

The new color.

GorgonColor originalColor

The original color.

Properties

| Edit this page View Source

Color

Property to return the selected color.

Declaration
public GorgonColor Color { get; }
Property Value
Type Description
GorgonColor
| Edit this page View Source

OriginalColor

Property to return the original color.

Declaration
public GorgonColor OriginalColor { get; }
Property Value
Type Description
GorgonColor

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author