18 lines
586 B
C#
18 lines
586 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace CopaData.FileInspector.GUI.TilingPanels.Controls.DropArea;
|
|
|
|
public class DropArea : Control
|
|
{
|
|
public static readonly DependencyProperty DropDecisionProperty = DependencyProperty
|
|
.RegisterAttached(
|
|
"Decision",
|
|
typeof(DropDecision),
|
|
typeof(DropArea));
|
|
|
|
public static DropDecision GetDropDecision(DependencyObject obj) => (DropDecision)obj.GetValue(DropDecisionProperty);
|
|
public static void SetDropDecision(DependencyObject obj, bool value) => obj.SetValue(DropDecisionProperty, value);
|
|
}
|
|
|