1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.ComponentModel;
6
using System.Diagnostics;
8
using System.Windows.Controls;
9
using System.Windows.Input;
10
using System.Windows.Media;
12
using ICSharpCode.WpfDesign.Extensions;
14
namespace ICSharpCode.WpfDesign.Designer.Controls
17
/// The rectangle shown during a rubber-band selecting operation.
19
public class SelectionFrame : Control
21
static SelectionFrame()
23
//This OverrideMetadata call tells the system that this element wants to provide a style that is different than its base class.
24
//This style is defined in themes\generic.xaml
25
DefaultStyleKeyProperty.OverrideMetadata(typeof(SelectionFrame), new FrameworkPropertyMetadata(typeof(SelectionFrame)));