diff --git a/src/client/spark/mspark/Shell/Fills/SingleOrderFillsView.xaml b/src/client/spark/mspark/Shell/Fills/SingleOrderFillsView.xaml deleted file mode 100644 index 8de9727e2..000000000 --- a/src/client/spark/mspark/Shell/Fills/SingleOrderFillsView.xaml +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file diff --git a/src/client/spark/mspark/Shell/Fills/SingleOrderFillsView.xaml.cs b/src/client/spark/mspark/Shell/Fills/SingleOrderFillsView.xaml.cs deleted file mode 100644 index ba55b3862..000000000 --- a/src/client/spark/mspark/Shell/Fills/SingleOrderFillsView.xaml.cs +++ /dev/null @@ -1,52 +0,0 @@ -using bts.spark; -using mbts.spark.utilities; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Globalization; -using System.Collections.ObjectModel; - -namespace mbts.ui.spark -{ - /// - /// Interaction logic for SingleOrderFillsView.xaml - /// - public class SingleOrderFillsView : Control - { - static SingleOrderFillsView() { - DefaultStyleKeyProperty.OverrideMetadata(typeof(SingleOrderFillsView), new FrameworkPropertyMetadata(typeof(SingleOrderFillsView))); - } - - #region OrderBookEntry - public static readonly DependencyProperty OrderBookEntryProperty = DependencyProperty.Register(nameof(OrderBookEntry), typeof(OrderBookEntry), typeof(SingleOrderFillsView), new PropertyMetadata(null, OnOrderBookEntryChanged, CoerceOrderBookEntry)); - private static object CoerceOrderBookEntry(DependencyObject d, object baseValue) { return baseValue as OrderBookEntry ?? OrderDataHelper.Defaults.OrderBookEntry(); } - private static void OnOrderBookEntryChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { d.SetValue(FillsPropertyKey, ((OrderBookEntry)e.NewValue).Fills); } - public OrderBookEntry OrderBookEntry { get => GetValue(OrderBookEntryProperty) as OrderBookEntry; set => SetValue(OrderBookEntryProperty, value); } - #endregion - - #region Fills (ReadOnly) - private static readonly DependencyPropertyKey FillsPropertyKey = DependencyProperty.RegisterReadOnly(nameof(Fills), typeof(IReadOnlyList), typeof(SingleOrderFillsView), new PropertyMetadata(new ReadOnlyCollection(new List()))); - internal static readonly DependencyProperty FillsProperty = FillsPropertyKey.DependencyProperty; - internal IReadOnlyList Fills { get => GetValue(FillsProperty) as IReadOnlyList; private set => SetValue(FillsPropertyKey, value); } - #endregion - - internal class FillVM - { - public FillVM(Fill fill) { - - } - - } - } -} \ No newline at end of file