| Visual Basic (Declaration) | |
|---|---|
Public MustOverride ReadOnly Property ColorCount As Integer | |
| C# | |
|---|---|
public abstract int ColorCount {get;} | |
The ColorCount property returns the number of color indexes available to the Color methods (Color(DisplayColor,Int32) and Color(DisplayColor,Int32,String)) and the IsColorByTrace method. Each color index identifies a displayed element in either the trace window or markers window.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)