Provides data for the SftBox.DropDownClosed event.
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET
Inheritance
public class DropDownClosedEventArgs : System.EventArgs;
Public Class DropDownClosedEventArgs
Inherits System.EventArgs![]() | DropDownClosedEventArgs | Initializes a new instance of the DropDownClosedEventArgs class. |
![]() | Accepted | Returns whether the user chose an item (True) or closed the dropdown without choosing one (False). |
![]() ![]() ![]() | Empty | Provides a value to use with events that do not have event data. |
![]() ![]() | Equals | Determines whether the specified object is equal to the current object. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
![]() ![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | GetType | Gets the Type of the current instance. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() ![]() ![]() | ReferenceEquals | Determines whether the specified Object instances are the same instance. |
![]() ![]() | ToString | Returns a string that represents the current object. |
e.Cancel = checkBlock.Checked;
DumpValues("sftBox1.DropDownOpening" + (e.Cancel ? " (canceled)" : ""), e);
}
private void sftBox1_DropDownOpened(object sender, EventArgs e) {
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);
}
e.Cancel = CheckBlock.Checked
DumpValues("SftBox1.DropDownOpening" + If(e.Cancel, " (canceled)", ""), e)
End Sub
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
See Also Classes | SftBox/NET 3.0