SvgImageBox.ContextButtonClick Event
In This Article
Fires when a context button is clicked.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
[DXCategory("Context Buttons")]
public event ContextItemClickEventHandler ContextButtonClick
#Event Data
The ContextButtonClick event's data class is ContextItemClickEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Data |
Gets or sets an Object that contains a clicked Context |
Item |
Gets a clicked Context |
Item |
Gets or sets a clicked Context |
Screen |
Returns a Rectangle that contains a Context |
#Remarks
The ContextButtonClick event fires when a user clicks a context button (see SvgImageBox.ContextButtons). The event’s Item parameter allows you to determine the button that has been clicked.
You can also handle the ContextItem.Click event to respond to a specific button click.
See Also