HeaderPane
Main
Hide
Share Link
Print

DropDownClosed Event, SftMask Class

Occurs when the calculator or the autocomplete list closes.

Class: SftMask
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public event EventHandler<DropDownEventArgs> DropDownClosed;
Public Event DropDownClosed As EventHandler(Of DropDownEventArgs)

Comments

Occurs when the calculator or the autocomplete list closes.

Examples

C# View entire sample code

            DumpValues("sftMask1.CalculatorOpening" + (e.Cancel ? " (canceled)" : ""), e);
        }

        private void sftMask1_DropDownOpened(object sender, DropDownEventArgs e) {
            DumpValues("sftMask1.DropDownOpened", e);
        }

        private void sftMask1_DropDownClosed(object sender, DropDownEventArgs e) {
            DumpValues("sftMask1.DropDownClosed", e);
        }

        private void sftMask1_PrePaste(object sender, PrePasteEventArgs e) {
            DumpValues("sftMask1.PrePaste", e);
        }

        private void sftMask1_InputModeChanged(object sender, EventArgs e) {

VB.NET View entire sample code

        e.Cancel = CheckBlock.Checked
        DumpValues("SftMask1.CalculatorOpening" + If(e.Cancel, " (canceled)", ""), e)
    End Sub

    Private Sub SftMask1_DropDownOpened(ByVal sender As Object, ByVal e As DropDownEventArgs) Handles SftMask1.DropDownOpened
        DumpValues("SftMask1.DropDownOpened", e)
    End Sub

    Private Sub SftMask1_DropDownClosed(ByVal sender As Object, ByVal e As DropDownEventArgs) Handles SftMask1.DropDownClosed
        DumpValues("SftMask1.DropDownClosed", e)
    End Sub

    Private Sub SftMask1_PrePaste(ByVal sender As Object, ByVal e As PrePasteEventArgs) Handles SftMask1.PrePaste
        DumpValues("SftMask1.PrePaste", e)
    End Sub

See Also SftMask Class | Classes | SftMask/NET 3.0