Пример #1
0
        public void MoveUpElement(BaseElement element)
        {
            var i = _elements.IndexOf(element);

            if (i != _elements.Count - 1)
            {
                _elements.ChangeIndex(i, i + 1);
                OnAppearancePropertyChanged(new EventArgs());
            }
        }