Partager via


WinFormsDataBindingHelper.InitializeDataSourceFromBinding(ComboBox) Method

Definition

Initialize the dropdown list for a ComboBox using the values of the enumeration it is bound to.

public:
[System::Runtime::CompilerServices::Extension]
 static void InitializeDataSourceFromBinding(System::Windows::Forms::ComboBox ^ combo);
public static void InitializeDataSourceFromBinding (this System.Windows.Forms.ComboBox combo);
static member InitializeDataSourceFromBinding : System.Windows.Forms.ComboBox -> unit
<Extension()>
Public Sub InitializeDataSourceFromBinding (combo As ComboBox)

Parameters

combo
ComboBox

Applies to