Пример #1
0
        private void MouseUpHandler(object sender, MouseButtonEventArgs e)
        {
            ContentElement el = (ContentElement)sender;

            if (!el.IsEnabled)
            {
                return;
            }
            e.Handled = true;
            el.ReleaseMouseCapture();
        }