windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-0a076a4a.md
Represents a method that will handle the GridView.MasterRowExpanding and GridView.MasterRowCollapsing events.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
public delegate void MasterRowCanExpandEventHandler(
object sender,
MasterRowCanExpandEventArgs e
);
Public Delegate Sub MasterRowCanExpandEventHandler(
sender As Object,
e As MasterRowCanExpandEventArgs
)
| Name | Type | Description |
|---|---|---|
| sender | Object |
The event source.
| | e | MasterRowCanExpandEventArgs |
A MasterRowCanExpandEventArgs class instance that contains the event data.
|
When you create a MasterRowCanExpandEventHandler delegate, you identify the method that will handle the corresponding event. To associate an 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.
See Also