ShowOperatePatient.xaml 1.2 KB

123456789101112131415161718192021222324252627
  1. <StackPanel
  2. x:Class="SHJX.Service.Main.Views.Sidebar.ShowOperatePatient"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:const="clr-namespace:SHJX.Service.Common.Constants;assembly=SHJX.Service.Common"
  6. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  7. xmlns:prism="http://prismlibrary.com/"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. Cursor="Hand"
  10. Orientation="Horizontal">
  11. <i:Interaction.Triggers>
  12. <i:EventTrigger EventName="Loaded">
  13. <i:InvokeCommandAction Command="{Binding ShowSearchLoadingCommand}" />
  14. </i:EventTrigger>
  15. </i:Interaction.Triggers>
  16. <Button Command="{Binding ApplicationCommands.ShowCommand}" CommandParameter="{x:Static const:FlyoutNames.SearchMedicineFlyout}">
  17. <StackPanel Orientation="Horizontal">
  18. <Image Height="20" Source="pack://application:,,,/SHJX.Service.Resource;component/Assets/Photos/按钮.png" />
  19. <TextBlock
  20. VerticalAlignment="Center"
  21. FontSize="15"
  22. FontWeight="Bold"
  23. Text="操作" />
  24. </StackPanel>
  25. </Button>
  26. </StackPanel>