Occurs when the user chooses an item.
Class: SftBox
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET
public event EventHandler SelectionCommitted;
Public Event SelectionCommitted As EventHandlerOccurs when the user chooses an item.
The event occurs after SftBox.SelectedItemChanged, and also when the user chooses the item that is already selected.
// sftBox1 - an edit field with a dropdown; typing completes the name of a fruit
private void sftBox1_SelectedItemChanged(object sender, EventArgs e) {
DumpValues("sftBox1.SelectedItemChanged (" + Selection(sftBox1) + ")", e);
}
private void sftBox1_SelectionCommitted(object sender, EventArgs e) {
DumpValues("sftBox1.SelectionCommitted (" + Selection(sftBox1) + ")", e);
}
private void sftBox1_SelectedValueChanged(object sender, EventArgs e) {
DumpValues("sftBox1.SelectedValueChanged", e);
}
private void sftBox1_EditTextChanged(object sender, EventArgs e) {
DumpValues("sftBox1.EditTextChanged (" + sftBox1.Text + ")", e);
End Function
' SftBox1 - an edit field with a dropdown; typing completes the name of a fruit
Private Sub SftBox1_SelectedItemChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftBox1.SelectedItemChanged
DumpValues("SftBox1.SelectedItemChanged (" + Selection(SftBox1) + ")", e)
End Sub
Private Sub SftBox1_SelectionCommitted(ByVal sender As Object, ByVal e As EventArgs) Handles SftBox1.SelectionCommitted
DumpValues("SftBox1.SelectionCommitted (" + Selection(SftBox1) + ")", e)
End Sub
Private Sub SftBox1_SelectedValueChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftBox1.SelectedValueChanged
DumpValues("SftBox1.SelectedValueChanged", e)
End Sub
See Also SftBox Class | Classes | SftBox/NET 3.0