Back to Devexpress

CalcPreviewTextEventHandler Delegate

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-4b85a157.md

latest1.9 KB
Original Source

CalcPreviewTextEventHandler Delegate

Represents a method that will handle the GridView.CalcPreviewText event.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
senderObject

The event source. This parameter identifies the View that raised the event.

| | e | CalcPreviewTextEventArgs |

A CalcPreviewTextEventArgs class instance that contains event data.

|

Remarks

When creating a CalcPreviewTextEventHandler 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.XtraGrid.Views.Grid Namespace