Version

ValueList Property (UltraComboEditor)

Gets/sets the ValueList used by the control
Syntax
'Declaration
 
Public Overridable Property ValueList As Infragistics.Win.ValueList
public virtual Infragistics.Win.ValueList ValueList {get; set;}
Remarks

Note: If the control is bound through the DataSource property, an exception will be thrown when assigning a new ValueList to this property, since the list should be provided by the binding. Additionally, if a ValueList has already been assigned to this property and that ValueList does not support data binding (generally not a BindableValueList), an exception will be thrown when trying to bind the control. In this situation, the developer is responsible either for using a BindableValueList or to clear out the ValueList property so that the control will create a new one.


Note: The developer is responsible for disposing any external ValueList that is assigned to this property; the UltraComboEditor will only dispose ValueLists that are created internally. This means that if there are two UltraComboEditors, A and B, if B is assigned the ValueList that is created by A, if A is disposed, B will have a disposed ValueList. In this case, a new, blank ValueList will be created the next time that B needs to access the ValueList property. In order to work around this issue, it is recommended that a ValueList be created manually and assigned to each UltraComboEditor, ensuring that the list is disposed properly.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also