using System; namespace Terminal.Gui { /// /// Provides data for events. /// public class SplitterEventArgs : EventArgs { /// /// Creates a new instance of the class. /// /// in which splitter is being moved. /// Index of the splitter being moved in . /// The new of the splitter line. public SplitterEventArgs (TileView tileView, int idx, Pos splitterDistance) { SplitterDistance = splitterDistance; TileView = tileView; Idx = idx; } /// /// New position of the splitter line (see ). /// public Pos SplitterDistance { get; } /// /// Container (sender) of the event. /// public TileView TileView { get; } /// /// Gets the index of the splitter that is being moved. This can be /// used to index /// public int Idx { get; } } }