VisualSplitter

… is internal.

WHY?

Why is Unity always keeping useful utility class as internal or private??

Why do you need it? Perhaps elaborate a bit and unity may consider your use case.

To split two part of an editor. The same reason it exists in the first place.

We try to only make public what we think is finished and won’t likely have to change. The VisualSplitter in Unity was never quite there. Splitters, turns out, are really difficult to get right in the general case. Until we make it (or something like it) public, you can:

  1. copy it from source: UnityCsReference/Editor/Mono/UIElements/Controls/VisualSplitter.cs at master · Unity-Technologies/UnityCsReference · GitHub
  2. download the UI Builder package, find its source code, and look for TwoPaneSplitView