Table of Contents

Method Select

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

Select(Color?, string?)

Selects a color and updates the current value to the selected color.

public virtual void Select(Color? value, string? title = null)

Parameters

value Color

The color to be selected.

title string

An optional title associated with the selected color. If null, no custom title is assigned.

Remarks

This method finds or adds the specified color to the collection and sets it as the current value. If the color already exists, it is reused; otherwise, it is added with the provided title.