//Boton del agrupado de líneas
        private void btnFolding_Click(object sender, RoutedEventArgs e)
        {
            var args = new FoldEventArgs();

            FoldActionRequest?.Invoke(this, args);
        }
 private void FoldableStartLine_FoldActionRequest(object sender, FoldEventArgs e)
 {
     IsGroupCollapsed = !IsGroupCollapsed;
 }