Remove accidentally added files
This commit is contained in:
1 parent
3ac340f2dd
commit
b5f4e27b67
2 files changed
-68
No files matched your search
@@ -1,16 +0,0 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:c="clr-namespace:mbts.ui.controls"
|
||||
xmlns:usp="clr-namespace:mbts.ui.spark">
|
||||
<Style TargetType="usp:SingleOrderFillsView">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="usp:SingleOrderFillsView">
|
||||
<c:DataGridEx SuperHeaders="{TemplateBinding Order, Converter={StaticResource SuperHeaderConverter}}">
|
||||
|
||||
</c:DataGridEx>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
@@ -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
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for SingleOrderFillsView.xaml
|
||||
/// </summary>
|
||||
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<Fill>), typeof(SingleOrderFillsView), new PropertyMetadata(new ReadOnlyCollection<Fill>(new List<Fill>())));
|
||||
internal static readonly DependencyProperty FillsProperty = FillsPropertyKey.DependencyProperty;
|
||||
internal IReadOnlyList<Fill> Fills { get => GetValue(FillsProperty) as IReadOnlyList<Fill>; private set => SetValue(FillsPropertyKey, value); }
|
||||
#endregion
|
||||
|
||||
internal class FillVM
|
||||
{
|
||||
public FillVM(Fill fill) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user