Files
StockSharp/Samples/Chart/SamplePerformance/MainWindow.xaml
T

26 lines
1.2 KiB
XML

<Window x:Class="SamplePerformance.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:charting="http://schemas.stocksharp.com/xaml"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:s="http://schemas.ulcsoftware.co.uk/ultrachart"
xmlns:loc="clr-namespace:StockSharp.Localization;assembly=StockSharp.Localization"
Title="{x:Static loc:LocalizedStrings.XamlStr540}" Height="400" Width="970">
<xctk:BusyIndicator x:Name="BusyIndicator">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<ComboBox Margin="10,0,0,0" x:Name="Theme" ItemsSource="{Binding Source={x:Static s:ThemeManager.AllThemes}}"
SelectionChanged="OnThemeSelectionChanged" VerticalAlignment="Center" Width="150"/>
<CheckBox Content="{x:Static loc:LocalizedStrings.RealTime}" Margin="10,0,0,0" x:Name="IsRealtime" VerticalAlignment="Center"/>
</StackPanel>
<charting:ChartPanel Grid.Row="1" x:Name="Chart" IsInteracted="True"/>
</Grid>
</xctk:BusyIndicator>
</Window>