Commit Graph
8167 Commits
Author SHA1 Message Date
John Colvin 91146fdfb9 made simple CastConverter class (IValueConverter) 2019-04-14 18:51:39 -05:00
John Colvin 8f5ca8d783 SPARK-2275 / SPARK-2280 don't apply DialogSkirtButtonStyle to Save/Revert buttons in AlgoStudioView (dsb style assumes datacontext is DialogSkirtItem) 2019-04-14 18:51:38 -05:00
John Colvin 2364c1123c SPARK-2275 / SPARK-2279 remove bad Background binding in DIYGrid's GridViewColumnHeader ControlTemplate 2019-04-14 18:12:55 -05:00
John Colvin 3b27f560fb SPARK-2275 / SPARK-2278 remove erroneous Horizontal/VerticalContentAlignment bindings in 'AlgoTreeViewItemContainerStyleBase' 2019-04-14 18:12:42 -05:00
John Colvin c741093ab9 SPARK-2275 / SPARK-2277 remove DIYGrid hidden edit-control (a vestige from AW2, unused in Spark) 2019-04-14 17:48:54 -05:00
John Colvin 405685ece3 SPARK-2275 / SPARK-2276 remove erroneous 'start_command' binding 2019-04-14 17:34:04 -05:00
John Colvin 6de078473b SPARK-2208 / SPARK-2274 non-uniform price is displayed as '0,' should be '-' 2019-04-14 15:37:41 -05:00
John Colvin f9a131a480 CommonValueMonitor - actually use 'default_value' param 2019-04-14 15:35:17 -05:00
John Colvin 16ba5c42ab OrderBookToolBar - change 'IsTabStop=False' to 'IsFocusable=False' in RightPanel.MenuItem style (menu-items were stealing focus on hover) 2019-04-14 15:13:52 -05:00
John Colvin 0e892817bf OrderBookToolBar - remove unselect-when-mouse-leaves trigger in ToolBarOverflowButtonStyle 2019-04-14 15:11:12 -05:00
John Colvin 0d01f7f365 SPARK-2269 UI Crash (null ref in EnumDescriptionConverter.Convert) 2019-04-14 15:00:41 -05:00
John Colvin f67669a830 Ladder - clicking a favorite button that is already selected pops the selection back to the last algo that was selected via the dropdown 2019-04-14 14:56:11 -05:00
John Colvin 4f5ff80199 made 'SetStack' class and corresponding unit tests 2019-04-14 14:55:01 -05:00
John Colvin c84b3c576b SortedList - made 'RemoveAt' method 2019-04-14 14:39:32 -05:00
John Colvin f4490623b3 rename GenericCollectionExtensions.cs -> EnumerableExtensions.cs 2019-04-14 11:44:18 -05:00
John Colvin 2b00c00459 move ObservableCollectionExtensions into its own file 2019-04-14 11:43:43 -05:00
John Colvin 7e5ea37782 remove unused HashSetExtensions class 2019-04-14 11:37:59 -05:00
John Colvin 9ad140d774 consolidate 2 DictionaryExtensions classes into 1 2019-04-14 11:21:45 -05:00
John Colvin 67a457cf98 (4/4) consolidate 2 CollectionExtensions classes into 1 - remove TryGetItem extension 2019-04-14 11:16:48 -05:00
John Colvin e3305bc3f5 (3/4) consolidate 2 CollectionExtensions classes into 1 - move within_range methods/create ArrayExtensions class 2019-04-14 11:10:20 -05:00
John Colvin 171fcab814 (2/4) consolidate 2 CollectionExtensions classes into 1 - move SetItems method 2019-04-14 10:56:41 -05:00
John Colvin 0723f0ae1e (1/4) consolidate 2 CollectionExtensions classes into 1 - move AddRange methods 2019-04-14 10:55:44 -05:00
John Colvin c1d0c159af consolidate 2 ListExtensions classes into 1 2019-04-14 10:35:28 -05:00
John Colvin 65ec3f6d0a move GenericCollectionExtensions.cs into spark_core 2019-04-14 10:30:14 -05:00
John Colvin 009e709384 OrderBook - move RightPanel.MenuItem style to OrderBookToolBar.xaml, replace ControlTemplate triggers with VisualStates 2019-04-13 18:29:44 -05:00
John Colvin c124e3dfd2 made new StateDefinitions: MouseStateDefinition, CheckedStateDefinition 2019-04-13 18:28:25 -05:00
John Colvin c6f98630dc RadioButtonGroupManager - factor out ToggleButton/MenuItem subscribe-checked impl 2019-04-13 18:26:27 -05:00
John Colvin d270411578 SPARK-2208 / SPARK-2270 params grid should stretch to the width of the panel 2019-04-13 14:50:25 -05:00
John Colvin eea68f438b DataGridEditHelper - ignore usual togglebutton behavior when QuantityMeasureControl cell enters edit mode 2019-04-13 14:50:25 -05:00
John Colvin 575b2c0bb6 QuantityMeasureControl - made new ratio-checkbox ControlTemplate 2019-04-13 14:50:25 -05:00
John Colvin e024edb6f7 QuantityMeasureCaseDisplayTextConverter - made public static convert method 2019-04-13 14:50:25 -05:00
John Colvin ef4bcfb1b8 TickUpDown - set TemplateBindings for (Min/Max)Width props 2019-04-13 14:50:24 -05:00
John Colvin 94e5b8410c AlgoEditorGridView - bbo price hyperlink cmds payup 'n' ticks if number key is pressed when clicked 2019-04-13 14:50:24 -05:00
John Colvin 9edb0f2b9c TickUtils - tickup/down support negative input (just ticks in opposite direction) 2019-04-13 14:43:05 -05:00
John Colvin 440f0f1e85 DIYGridRowsPresenter - set 'IsTextSearchEnabled' to false (in default style) 2019-04-13 11:35:57 -05:00
John Colvin 707e6013cc SPARK-2208 / SPARK-2271 params grid - make 'Enter' key behave like 'Tab' 2019-04-12 20:05:12 -05:00
John Colvin 80ee8d1afa SPARK-2208 / SPARK-2272 params grid - get rid of 'Pen' cursor 2019-04-12 19:55:38 -05:00
John Colvin 9923cd4b9b SPARK-2208 / SPARK-2273 keyboard shortcuts for modify/revert 2019-04-12 19:46:02 -05:00
John Colvin 3a4ec52766 replaced SparkWindowView.HeaderConverter with CommandHelper.DescriptionConverter (can be used w/ non-spark cmds as well) 2019-04-12 16:56:22 -05:00
John Colvin 00548ea6dd AlgoEditorGridView - best bid/ask hyperlink tooltips don't say 'click to assign' when disabled 2019-04-12 16:11:10 -05:00
John Colvin 6e654049bd AlgoParamRowVM - 'set_value_cmd' can only execute when param.permissions == 'ReadWrite' 2019-04-12 16:11:10 -05:00
John Colvin 71c94b8c8d OrderBookVM - update algo param permissions when 'selected-orders-all-active' changes 2019-04-12 16:11:10 -05:00
John Colvin cd9875f67a add 'permissions_changed' event to IAlgoParamVM 2019-04-12 16:02:05 -05:00
John Colvin 4a118c76ac ViewModelBase - overload 'Set' method to out previous value 2019-04-12 15:59:31 -05:00
John Colvin 8d263cdd37 remove redundant 'SubscribeHookLatest' method, redirect callers to 'SubscribeEach' 2019-04-12 13:55:02 -05:00
John Colvin f56d1a570a AlgoEditorGridView - 'Click to edit' tooltip 2019-04-12 13:55:02 -05:00
John Colvin 63dd6ea835 OrderBook/AlgoEditorGridView - display bbo in price/size param rows 2019-04-12 13:55:01 -05:00
John Colvin 6c19f959fa initialize AlgoParamVM.has_value 2019-04-12 13:45:26 -05:00
John Colvin c4a180f936 AlgoParamRowVM implements IEditableObject 2019-04-12 13:45:26 -05:00
John Colvin 2c272e936f SPARK-2208 / SPARK-2266 remove price/size controls, add them as the first 2 param rows instead 2019-04-12 13:45:26 -05:00