Skip to main content

GridSplitContainer.SplitViewCreated Event

Fires before a Split View is displayed or before its orientation is changed.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DXCategory("Split")]
public event EventHandler SplitViewCreated

Event Data

The SplitViewCreated event's data class is EventArgs.

Remarks

After an end-user activates a Split View or after the GridSplitContainer.ShowSplitView method is called, the following events fire:

  1. SplitViewCreated - fires after the Split View is created, but before it is displayed. You can handle this event to perform additional customization of the grid control’s (GridSplitContainer.Grid and GridSplitContainer.SplitChildGrid) being split, without any flickering effect.
  2. GridSplitContainer.SplitViewShown - fires after the Split View has been displayed.

If the Split View is active and you toggle the GridSplitContainer.Horizontal property, the following events fire:

  1. GridSplitContainer.SplitViewHidden
  2. SplitViewCreated
  3. GridSplitContainer.SplitViewShown

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SplitViewCreated event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also