protected void OnBackgroundClick(TimelineEventArgs e)
        {
            if (e.Row != null)
                e.Row.Selected = true;

            if (ClickingGridSetsCursor)
                CursorPosition = e.Time;

            if (BackgroundClicked != null)
                BackgroundClicked(this, e);
        }
        protected void OnBackgroundClick(TimelineEventArgs e)
        {
            if (e.Row != null)
            {
                e.Row.Active = true;
            }

            if (ClickingGridSetsCursor)
            {
                CursorPosition = e.Time;
            }

            if (BackgroundClicked != null)
            {
                BackgroundClicked(this, e);
            }
        }