A lot of the vm code was already there, but I cleaned it up a bit. The view was ported over from edge and also cleaned up/tweaked a bit.
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<Window
|
|
x:Class="Spark.Analytics.View.VolSurfaceGraphSettingsWindow"
|
|
x:ClassModifier="internal"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:analytics="clr-namespace:Spark.Analytics.View"
|
|
xmlns:u="clr-namespace:mbts.ui"
|
|
xmlns:c="clr-namespace:mbts.ui.controls"
|
|
Title="{Binding vol_surface_name, StringFormat='{}Graph Settings \'{0}\''}"
|
|
Style="{StaticResource BTSDialog}"
|
|
u:WindowStyle.SizeToContent="WidthAndHeight"
|
|
u:WindowStyle.AllowResize="True"
|
|
Grid.IsSharedSizeScope="True">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<ScrollViewer
|
|
VerticalScrollBarVisibility="Auto"
|
|
HorizontalScrollBarVisibility="Auto"
|
|
VerticalAlignment="Stretch"
|
|
HorizontalAlignment="Stretch">
|
|
<analytics:VolSurfaceGraphSettingsView />
|
|
</ScrollViewer>
|
|
|
|
<c:DialogSkirtOKApplyCancel
|
|
Grid.Row="1" OKCommand="{Binding commit_cmd}" ApplyCommand="{Binding apply_cmd}" />
|
|
</Grid>
|
|
</Window>
|