HeaderPane
Main
Hide
Share Link
Print

DropDownOpened Event, SftMask Class

Occurs when the calculator or the autocomplete list opens.

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

Syntax

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

Comments

Occurs when the calculator or the autocomplete list opens.

Examples

C# View entire sample code

        }

        private void sftMask1_CalculatorOpening(object sender, CalculatorOpeningEventArgs e) {
            e.Cancel = checkBlock.Checked;
            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) {

VB.NET View entire sample code

        DumpValues("SftMask1.UpDownPress", e)
    End Sub

    Private Sub SftMask1_CalculatorOpening(ByVal sender As Object, ByVal e As CalculatorOpeningEventArgs) Handles SftMask1.CalculatorOpening
        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

See Also SftMask Class | Classes | SftMask/NET 3.0