PageRenderTime 22ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/V2/trunk/RI/Silverlight/StockTraderRI.Modules.Position.Silverlight/Orders/OrderCommandsView.xaml

#
XAML | 12 lines | 12 code | 0 blank | 0 comment | 0 complexity | 57adeb0e7c45ef83e6a9cd73f38e9825 MD5 | raw file
 1<UserControl
 2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
 3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
 4    xmlns:cal="clr-namespace:Microsoft.Practices.Composite.Presentation.Commands;assembly=Microsoft.Practices.Composite.Presentation" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows" x:Class="StockTraderRI.Modules.Position.Orders.OrderCommandsView"
 5    >
 6    <Grid Margin="0,0,10,10" HorizontalAlignment="Stretch" >
 7        <StackPanel Height="Auto" VerticalAlignment="Bottom" HorizontalAlignment="Right" Orientation="Horizontal">
 8            <Button cal:Click.Command="{Binding Mode=OneWay, Path=SubmitCommand}" Content="Submit" AutomationProperties.AutomationId="OrderCommandSubmit" Template="{StaticResource SubmitButtonTemplate}" Cursor="Hand" />
 9            <Button cal:Click.Command="{Binding Mode=OneWay, Path=CancelCommand}" Content="Cancel" AutomationProperties.AutomationId="OrderCommandCancel" Template="{StaticResource CancelButtonTemplate}" Cursor="Hand" />
10        </StackPanel>
11    </Grid>
12</UserControl>