Table of Contents

Class SpeedColorButton

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Implements SpeedButton for editing of the Color values.

public class SpeedColorButton : SpeedButton, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
Inheritance
SpeedColorButton
Implements

Constructors

SpeedColorButton()

Initializes a new instance of the SpeedColorButton class.

Fields

DefaultColorImageSize

Gets or sets default size of the color image.

Properties

ColorImageSize

Gets or sets size of the color image.

PopupWindow

Gets attached popup window with ColorListBox.

ShowDialog

Gets or sets whether to show ColorDialog when button is clicked.

ShowPopupWindow

Gets or sets whether to show popup window with ColorListBox when button is clicked.

Text

Gets or sets Value as string.

Value

Gets or sets selected color.

Methods

OnClick(EventArgs)

Called when the control is clicked.

UpdateImage()

Updates color image using Value and ColorImageSize settings.

Events

ColorToString

Occurs when string is converted to Color.

StringToColor

Occurs when string is converted to Color.

ValueChanged

Occurs when Value property is changed.