Back to Devexpress

RowCellAlignmentEventHandler Delegate

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-929c04eb.md

latest1.9 KB
Original Source

RowCellAlignmentEventHandler Delegate

Represents a method that will handle the ColumnView.RowCellDefaultAlignment event.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
senderObject

The event source. Identifies the View that raised the event.

| | e | RowCellAlignmentEventArgs |

A RowCellAlignmentEventArgs object that contains event data.

|

Remarks

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

See Also

DevExpress.XtraGrid.Views.Base Namespace