Back to Devexpress

QueryDisplayTextEventHandler Delegate

windowsforms-devexpress-dot-xtraeditors-dot-controls-3396a87e.md

latest2.1 KB
Original Source

QueryDisplayTextEventHandler Delegate

Represents a method that will handle the RepositoryItemPopupContainerEdit.QueryDisplayText and RepositoryItemPopupGalleryEdit.QueryDisplayText events.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public delegate void QueryDisplayTextEventHandler(
    object sender,
    QueryDisplayTextEventArgs e
);
vb
Public Delegate Sub QueryDisplayTextEventHandler(
    sender As Object,
    e As QueryDisplayTextEventArgs
)

Parameters

NameTypeDescription
senderObject

The event source. This identifies the popup container editor for which the event is fired.

| | e | QueryDisplayTextEventArgs |

A QueryDisplayTextEventArgs object containing data related to the event.

|

Remarks

When creating a QueryDisplayTextEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraEditors.Controls Namespace