HeaderPane
Main
Hide
Share Link
Print

DropDownResized Event, SftBox Class

Occurs when the user has resized the dropdown.

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

Syntax

public event EventHandler DropDownResized;
Public Event DropDownResized As EventHandler

Comments

Occurs when the user has resized the dropdown.

The SftBox.DropDownSize property returns the new size.

Examples

C# View entire sample code

            DumpValues("sftBox1.DropDownOpened", e);
        }

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

        private void sftBox1_DropDownResized(object sender, EventArgs e) {
            DumpValues("sftBox1.DropDownResized (" + sftBox1.DropDownSize.Width + " x " + sftBox1.DropDownSize.Height + ")", e);
        }

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

        private void sftBox1_Leave(object sender, EventArgs e) {

VB.NET View entire sample code

    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

    Private Sub SftBox1_DropDownResized(ByVal sender As Object, ByVal e As EventArgs) Handles SftBox1.DropDownResized
        DumpValues("SftBox1.DropDownResized (" & SftBox1.DropDownSize.Width & " x " & SftBox1.DropDownSize.Height & ")", e)
    End Sub

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

See Also SftBox Class | Classes | SftBox/NET 3.0