Northwoods.GoWeb.Instruments Assembly > Northwoods.GoWeb.Instruments Namespace > GraduatedScale Class : LabelChoices Property |
'Declaration <CategoryAttribute("Appearance")> <DescriptionAttribute("The list of labels")> Public Overridable Property LabelChoices As IList
[CategoryAttribute("Appearance")] [DescriptionAttribute("The list of labels")] public virtual IList LabelChoices {get; set;}
GraduatedScale
.This property makes it easy to use a scale to display a range of non-numerical values for the labels. Just set this property and then set scale.Maximum = scale.LabelChoices.Count-1
and scale.TickMajorFrequency = 1
.
Modifying the items in the list is not controlled. Any such changes are not recorded by the undo manager. Only replacing the list is recorded for undo/redo, and even then, it is only the reference to an IList
that is remembered and restored.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2