Skip to content

Commit

Permalink
Fix data types in Xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sandermvanvliet committed Nov 21, 2023
1 parent 2f522bb commit 9e4b798
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/RoadCaptain.App.RouteBuilder/Views/MakeLoopDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
CanResize="False"
SystemDecorations="None"
WindowStartupLocation="CenterOwner"
Activated="WindowBase_OnActivated">
Activated="WindowBase_OnActivated"
x:DataType="viewModels:MakeLoopDialogViewModel">
<Design.DataContext>
<viewModels:DesignTimeMakeLoopDialogViewModel />
</Design.DataContext>
Expand Down
3 changes: 2 additions & 1 deletion src/RoadCaptain.App.RouteBuilder/Views/SaveRouteDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
SystemDecorations="None"
WindowStartupLocation="CenterOwner"
Activated="WindowBase_OnActivated"
PointerPressed="InputElement_OnPointerPressed">
PointerPressed="InputElement_OnPointerPressed"
x:DataType="viewModels:SaveRouteDialogViewModel">
<Design.DataContext>
<viewModels:DesignTimeSaveRouteDialogViewModel />
</Design.DataContext>
Expand Down

0 comments on commit 9e4b798

Please sign in to comment.