This document is archived and information here might be outdated. Recommended version. |
The Selected Color.
[Visual Basic .NET] Public ReadOnly Property Color As IColor
[C#] public IColor Color {get;}
The Color property of the IColorPalette interface returns the color selected during the TrackPopupMenu method.
The Color property may return the IColor interface of either an RgbColor, HsvColor, HlsColor, CmykColor or GrayColor coclass.
If the user selects a specific color, the Color property will return that selected color. If the user selects the More Colors option and selects a color from the ColorSelector that is then displayed, the IColorPalette Color property will return that color.
IColorPalette Interface | IColorPalette.TrackPopupMenu Method