Table of Contents

Constructor ColorPopupAttribute

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

ColorPopupAttribute(string)

Marks a color field that should be drawn as a popup list using the given key to retrieve the values.

public ColorPopupAttribute(string key)

Parameters

key string

The key used to retrieve the color values for the popup list. The retriever function should be registered with RegisterValuesRetriever<T>(string, Func<IEnumerable<T>>).