HeaderPane
Main
Hide
Share Link
Print

DropDownClosed Event, SftDate Class

Occurs when the dropdown has closed.

Class: SftDate
Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET

Syntax

public event EventHandler DropDownClosed;
Public Event DropDownClosed As EventHandler

Comments

Occurs when the dropdown has closed.

Examples

C# View entire sample code

            // e.Cancel = true; would keep the dropdown closed
        }

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

        private void sftDate1_DropDownClosed(object sender, EventArgs e) {
            DumpValues("sftDate1.DropDownClosed", e);
        }

        private void sftDate1_Enter(object sender, EventArgs e) {
            DumpValues("sftDate1.Enter", e);
        }

        private void sftDate1_Leave(object sender, EventArgs e) {

VB.NET View entire sample code

        ' e.Cancel = True would keep the dropdown closed
    End Sub

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

    Private Sub SftDate1_DropDownClosed(ByVal sender As Object, ByVal e As EventArgs) Handles SftDate1.DropDownClosed
        DumpValues("SftDate1.DropDownClosed", e)
    End Sub

    Private Sub SftDate1_Enter(ByVal sender As Object, ByVal e As EventArgs) Handles SftDate1.Enter
        DumpValues("SftDate1.Enter", e)
    End Sub

    Private Sub SftDate1_Leave(ByVal sender As Object, ByVal e As EventArgs) Handles SftDate1.Leave

See Also SftDate Class | Classes | SftDate/NET 3.0