Class CustomValues
- Namespace
- Myra.Graphics2D.UI.Properties
- Assembly
- Myra.dll
Represents a collection of custom values for use in property editors.
public class CustomValues
- Inheritance
-
CustomValues
- Inherited Members
Constructors
CustomValues(IEnumerable<CustomValue>)
Initializes a new instance of the CustomValues class.
public CustomValues(IEnumerable<CustomValue> values)
Parameters
valuesIEnumerable<CustomValue>The enumerable collection of custom values.
Properties
SelectedIndex
Gets or sets the index of the currently selected custom value, or null if none is selected.
public int? SelectedIndex { get; set; }
Property Value
- int?
Values
Gets the array of custom values.
public CustomValue[] Values { get; }