You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
// <file> |
|
// <copyright see="prj:///doc/copyright.txt"/> |
|
// <license see="prj:///doc/license.txt"/> |
|
// <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/> |
|
// <version>$Revision$</version> |
|
// </file> |
|
|
|
using System; |
|
using System.Windows.Controls; |
|
using System.Windows; |
|
using System.Windows.Media; |
|
using System.Windows.Shapes; |
|
using System.Windows.Controls.Primitives; |
|
using ICSharpCode.WpfDesign.Adorners; |
|
using ICSharpCode.WpfDesign.Extensions; |
|
|
|
namespace ICSharpCode.WpfDesign.Designer.Controls |
|
{ |
|
/// <summary> |
|
/// A thumb where the look can depend on the IsPrimarySelection property. |
|
/// Used by UIElementSelectionRectangle. |
|
/// </summary> |
|
public class ContainerDragHandle : Control |
|
{ |
|
static ContainerDragHandle() |
|
{ |
|
//This OverrideMetadata call tells the system that this element wants to provide a style that is different than its base class. |
|
//This style is defined in themes\generic.xaml |
|
DefaultStyleKeyProperty.OverrideMetadata(typeof(ContainerDragHandle), new FrameworkPropertyMetadata(typeof(ContainerDragHandle))); |
|
} |
|
} |
|
}
|
|
|