HeaderPane
Main
Hide
Share Link
Print

DropDownOpened Event, SftBox Class

Occurs when the dropdown has opened.

Class: SftBox
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

Syntax

public event EventHandler DropDownOpened;
Public Event DropDownOpened As EventHandler

Comments

Occurs when the dropdown has opened.

Examples

C# View entire sample code

        }

        private void sftBox1_DropDownOpening(object sender, CancelEventArgs e) {
            e.Cancel = checkBlock.Checked;
            DumpValues("sftBox1.DropDownOpening" + (e.Cancel ? " (canceled)" : ""), e);
        }

        private void sftBox1_DropDownOpened(object sender, EventArgs e) {
            DumpValues("sftBox1.DropDownOpened", e);
        }

        private void sftBox1_DropDownClosed(object sender, DropDownClosedEventArgs e) {
            DumpValues("sftBox1.DropDownClosed", e);
        }

        private void sftBox1_DropDownResized(object sender, EventArgs e) {

VB.NET View entire sample code

        DumpValues("SftBox1.TextChanged (" + SftBox1.Text + ")", e)
    End Sub

    Private Sub SftBox1_DropDownOpening(ByVal sender As Object, ByVal e As CancelEventArgs) Handles SftBox1.DropDownOpening
        e.Cancel = CheckBlock.Checked
        DumpValues("SftBox1.DropDownOpening" + If(e.Cancel, " (canceled)", ""), e)
    End Sub

    Private Sub SftBox1_DropDownOpened(ByVal sender As Object, ByVal e As EventArgs) Handles SftBox1.DropDownOpened
        DumpValues("SftBox1.DropDownOpened", e)
    End Sub

    Private Sub SftBox1_DropDownClosed(ByVal sender As Object, ByVal e As DropDownClosedEventArgs) Handles SftBox1.DropDownClosed
        DumpValues("SftBox1.DropDownClosed", e)
    End Sub

See Also SftBox Class | Classes | SftBox/NET 3.0