HeaderPane
Main
Hide
Share Link
Print

DropDownEventArgs Class

Provides data for the SftMask.DropDownOpened and SftMask.DropDownClosed events.

Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Inheritance

Syntax

public class DropDownEventArgs : System.EventArgs;
Public Class DropDownEventArgs
    Inherits System.EventArgs

Constructors

This class cannot be instantiated.

Properties

PublicKindReturns which popup window opened or closed.

Fields

PublicStaticInherited from System.EventArgsEmptyProvides a value to use with events that do not have event data.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

Examples

C# View entire sample code

            DumpValues("sftMask1.UpDownPress", e);
        }

        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);
        }

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 Classes | SftMask/NET 3.0