Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Colored Items

Guad edited this page Jan 28, 2016 · 1 revision

Since version 1.6 you can create colored items that look like this:

Colored Item

To start, initialize an UIMenuColoredItem class like you would any other item, adding your normal item color, and it's highlighted color.

var myItem = new UIMenuColoredItem("Start", Color.DarkGreen, Color.Green);

Additionaly, you can define your normal & highlighted text colors:

myItem.TextColor = Color.Red;
myItem.HighlightedTextColor = Color.Yellow;
Clone this wiki locally