WinForms › Search Text Box › SearchTextBoxDropListInvokedEventArgs
SearchTextBoxDropListInvokedEventArgs
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.InputControls
Provides data for the SearchTextBox.SearchDropListOpenRequested event: where the
chevron is, so the list can be shown beside it.
public sealed class SearchTextBoxDropListInvokedEventArgs : EventArgs
Inherits from / implements: EventArgs
Members at a glance
| Properties | |
|---|---|
DropListInvokerTopLeftPoint | Gets or sets the top-left corner of the chevron button, in the search box's client coordinates. |
Properties
DropListInvokerTopLeftPoint
public Point DropListInvokerTopLeftPoint
Gets or sets the top-left corner of the chevron button, in the search box's client coordinates.
- Value
- The corner of the chevron, relative to the search box's top-left corner.
Example
// Drop a menu down from the chevron's left edge, just below the box.
recentSearchesMenu.Show(searchBox, new Point(e.DropListInvokerTopLeftPoint.X, searchBox.Height));