public void initialize(bool horizontal, string prefix, ItemSelected i)
        {
            this.drag_prefix = prefix;
            this.is_horizontal = horizontal;
            this.item_selected = i;
            if (is_horizontal)
            {
                drag_direction1 = new Point(0, 1);
                drag_direction2 = new Point(0, -1);
                _list = this._list_horizontal;
                _list_vertical.Visibility = System.Windows.Visibility.Collapsed;
            }
            else
            {
                drag_direction1 = new Point(1, 0);
                drag_direction2 = new Point(-1, 0);
                _list = _list_vertical;
                _list_horizontal.Visibility = System.Windows.Visibility.Collapsed;
            }
            populator = new list_populator();
            populator.avatar_drag = this.avatar_drag;
            populator._list = this._list;

            if (!configurations.use_avatar_drag)
            {
                this._list.PreviewTouchDown += new EventHandler<TouchEventArgs>(_list_PreviewTouchDown);
                this._list.PreviewTouchMove += new EventHandler<TouchEventArgs>(_list_PreviewTouchMove);
                this._list.PreviewTouchUp += new EventHandler<TouchEventArgs>(_list_PreviewTouchUp);

                //this._list.PreviewMouseLeftButtonDown += new MouseButtonEventHandler(_list_PreviewMouseLeftButtonDown);
            }

            if (configurations.high_contrast)
                this._list.Background = Brushes.DarkGreen;
            else
                this._list.Background = Brushes.Transparent;

            //if (configurations.response_to_mouse_clicks)
            this._list.SelectionChanged += new SelectionChangedEventHandler(_list_SelectionChanged);
        }