Filtration/Filtration.ThemeEditor/Views/ThemeComponentControl.xaml.cs

21 lines
624 B
C#
Raw Normal View History

using System.Windows.Input;
namespace Filtration.ThemeEditor.Views
{
2015-06-26 12:42:20 -04:00
public partial class ThemeComponentControl
{
2015-06-26 12:42:20 -04:00
public ThemeComponentControl()
{
InitializeComponent();
}
private void ColorPicker_OnMouseDown(object sender, MouseButtonEventArgs e)
{
// For some reason if we don't mark OnMouseDown events as handled for this control
// it ignores them and they end up getting picked up by the parent ListBoxItem instead,
// resulting in the Advanced tab not being clickable.
e.Handled = true;
}
}
}