RepositoryItemTokenEdit.BeforeShowPopupPanel Event
Occurs before the peek panel assigned to this TokenEdit is displayed.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
[DXCategory("Events")]
public event TokenEditBeforeShowPopupPanelEventHandler BeforeShowPopupPanel
Event Data
The BeforeShowPopupPanel event's data class is DevExpress.XtraEditors.TokenEditBeforeShowPopupPanelEventArgs.
Remarks
You can assign a FlyoutPanel to your TokenEdit control via the RepositoryItemTokenEdit.PopupPanel property. This will display the assigned panel whenever an end-user hovers a token. Before the panel is displayed, the BeforeShowPopupPanel event fires. Handle this event to customize your peek panel, depending on which token is hovered. To do so, read the e.Description and e.Value parameters. See the Token Edit Control topic for an example.
See Also