OptionsProperty

Provides a way to create properties that show up as a drop down in the UI.

Declaration Syntax

public class OptionsProperty : CustomProperty

Table 105: Members

Field

GetOptionsCallback

Use this callback to dynamically add options to the options dictionary.

Property

Options

Options shown in the drop-down, represented by a dictionary of int -> string. Where the int represents the option, and string represents string shown in the UI. When an option is selected the Value property of the property is set to to the option int.