<commit_before>﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

namespace Kimono.Controls
{
    public sealed partial class GripperPanel : UserControl
    {
        public GripperPanel()
        {
            this.InitializeComponent();

            VisualStateManager.GoToState(this, InfoBoxCollapsedState.Name, true);
            IsExpanded = false;
        }

        public bool IsExpanded { get; private set; }

        private void GripperNub_Click(object sender, RoutedEventArgs e)
        {
            if (IsExpanded)
            {
                VisualStateManager.GoToState(this, InfoBoxCollapsedState.Name, true);
                IsExpanded = false;
            }
            else
            {
                VisualStateManager.GoToState(this, InfoBoxExpandedState.Name, true);
                IsExpanded = true;
            }
        }


        public static readonly DependencyProperty PanelContentProperty = DependencyProperty.Register("PanelContent", typeof(object), typeof(GripperPanel), new PropertyMetadata(null));
        public object PanelContent
        {
            get { return GetValue(PanelContentProperty); }
            set { SetValue(PanelContentProperty, value); }
        }
    }
}
<commit_msg>GripperPanel's IsExpanded property is now a dependency property.<commit_after>﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

namespace Kimono.Controls
{
    public sealed partial class GripperPanel : UserControl
    {
        public GripperPanel()
        {
            this.InitializeComponent();

            VisualStateManager.GoToState(this, InfoBoxCollapsedState.Name, true);
            IsExpanded = false;
        }

        public static readonly DependencyProperty IsExpandedProperty = DependencyProperty.Register("IsExpanded", typeof(bool), typeof(GripperPanel), new PropertyMetadata(false));
        public bool IsExpanded { get { return (bool)GetValue(IsExpandedProperty); } private set { SetValue(IsExpandedProperty, value); } }

        private void GripperNub_Click(object sender, RoutedEventArgs e)
        {
            if (IsExpanded)
            {
                VisualStateManager.GoToState(this, InfoBoxCollapsedState.Name, true);
                IsExpanded = false;
            }
            else
            {
                VisualStateManager.GoToState(this, InfoBoxExpandedState.Name, true);
                IsExpanded = true;
            }
        }


        public static readonly DependencyProperty PanelContentProperty = DependencyProperty.Register("PanelContent", typeof(object), typeof(GripperPanel), new PropertyMetadata(null));
        public object PanelContent
        {
            get { return GetValue(PanelContentProperty); }
            set { SetValue(PanelContentProperty, value); }
        }
    }
}

{'fraction_non_alphanumeric': 0.08579881656804733, 'fraction_numerical': 0.0032275416890801506, 'mean_word_length': 2.7756345177664974, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6642573', 'n_tokens_mistral': 1011, 'n_tokens_neox': 967, 'n_words': 215}