windowsforms-devexpress-dot-xtragrid-dot-gridsplitcontainer-dcbc0aeb.md
Fires before a Split View is displayed or before its orientation is changed.
Namespace : DevExpress.XtraGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DXCategory("Split")]
public event EventHandler SplitViewCreated
<DXCategory("Split")>
Public Event SplitViewCreated As EventHandler
The SplitViewCreated event's data class is EventArgs.
After an end-user activates a Split View or after the GridSplitContainer.ShowSplitView method is called, the following events fire:
If the Split View is active and you toggle the GridSplitContainer.Horizontal property, the following events fire:
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.
winforms-grid-split-presentation/CS/Form1.cs#L29
gridSplitContainer.Initialize();
gridSplitContainer.SplitViewCreated += new EventHandler(gridSplitContainer_SplitViewCreated);
winforms-grid-split-presentation/VB/Form1.vb#L31
gridSplitContainer.Initialize()
AddHandler gridSplitContainer.SplitViewCreated, AddressOf gridSplitContainer_SplitViewCreated
See Also
SplitViewCreated