ConfigWindow.xaml 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <hc:Window x:Class="GeekDesk.Control.ConfigWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:hc="https://handyorg.github.io/handycontrol"
  7. mc:Ignorable="d"
  8. WindowStartupLocation="CenterScreen"
  9. Height="450"
  10. Width="600"
  11. WindowStyle="None"
  12. AllowsTransparency="True"
  13. Background="Transparent"
  14. >
  15. <Border CornerRadius="8" BorderThickness="0" Background="White" Opacity="0.9">
  16. <Grid>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="*"/>
  19. </Grid.RowDefinitions>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="200"/>
  22. <ColumnDefinition Width="*"/>
  23. </Grid.ColumnDefinitions>
  24. <hc:Card Grid.Row="0" Grid.Column="0">
  25. <hc:SideMenu BorderThickness="1" AutoSelect="True" Header="WorkItems" BorderBrush="#FF958F8F">
  26. <hc:Interaction.Triggers>
  27. <hc:EventTrigger EventName="SelectionChanged">
  28. <hc:EventToCommand Command="{Binding SwitchItemCmd}" PassEventArgsToCommand="True" />
  29. </hc:EventTrigger>
  30. </hc:Interaction.Triggers>
  31. <hc:SideMenuItem Header="Work Items" Background="#FFD1C8C8">
  32. <hc:SideMenuItem.Icon>
  33. <Button Background="Transparent"
  34. BorderThickness="0"
  35. hc:IconElement.Geometry="M828.770654 148.714771C641.293737-20.89959 354.184117-19.590868 168.245698 152.630946c-212.062907 196.418185-212.062907 522.329912 0 718.748098 185.93842 172.221815 473.048039 173.520546 660.524956 3.916176 219.435707-198.536117 219.435707-528.054322 0-726.580449z m-121.880976 569.643707c-11.708566 11.708566-30.680039 11.708566-42.388605 0L502.729054 556.586459c-0.659356-0.659356-1.728312-0.659356-2.397659 0L338.609327 718.318517c-11.708566 11.708566-30.680039 11.708566-42.388605 0l-0.039961-0.039961c-11.708566-11.708566-11.708566-30.680039 0-42.388605l161.732059-161.732058c0.659356-0.659356 0.659356-1.728312 0-2.397659L296.1408 350.008195c-11.708566-11.708566-11.708566-30.680039 0-42.388605l0.039961-0.039961c11.708566-11.708566 30.680039-11.708566 42.388605 0l161.772019 161.77202c0.659356 0.659356 1.728312 0.659356 2.397659 0L664.551024 307.539668c11.708566-11.708566 30.680039-11.708566 42.388605 0l0.039961 0.039961c11.708566 11.708566 11.708566 30.680039 0 42.388605L545.15762 511.770224c-0.659356 0.659356-0.659356 1.728312 0 2.397659L706.919649 675.939902c11.708566 11.708566 11.708566 30.680039 0 42.388605l-0.029971 0.029971z"
  36. hc:IconElement.Height="18"
  37. hc:IconElement.Width="18"
  38. HorizontalAlignment="Right"
  39. />
  40. </hc:SideMenuItem.Icon>
  41. </hc:SideMenuItem>
  42. <hc:SideMenuItem Header="Work Items2">
  43. <hc:SideMenuItem.Icon>
  44. <Button Background="Transparent"
  45. BorderThickness="0"
  46. hc:IconElement.Geometry="M828.770654 148.714771C641.293737-20.89959 354.184117-19.590868 168.245698 152.630946c-212.062907 196.418185-212.062907 522.329912 0 718.748098 185.93842 172.221815 473.048039 173.520546 660.524956 3.916176 219.435707-198.536117 219.435707-528.054322 0-726.580449z m-121.880976 569.643707c-11.708566 11.708566-30.680039 11.708566-42.388605 0L502.729054 556.586459c-0.659356-0.659356-1.728312-0.659356-2.397659 0L338.609327 718.318517c-11.708566 11.708566-30.680039 11.708566-42.388605 0l-0.039961-0.039961c-11.708566-11.708566-11.708566-30.680039 0-42.388605l161.732059-161.732058c0.659356-0.659356 0.659356-1.728312 0-2.397659L296.1408 350.008195c-11.708566-11.708566-11.708566-30.680039 0-42.388605l0.039961-0.039961c11.708566-11.708566 30.680039-11.708566 42.388605 0l161.772019 161.77202c0.659356 0.659356 1.728312 0.659356 2.397659 0L664.551024 307.539668c11.708566-11.708566 30.680039-11.708566 42.388605 0l0.039961 0.039961c11.708566 11.708566 11.708566 30.680039 0 42.388605L545.15762 511.770224c-0.659356 0.659356-0.659356 1.728312 0 2.397659L706.919649 675.939902c11.708566 11.708566 11.708566 30.680039 0 42.388605l-0.029971 0.029971z"
  47. hc:IconElement.Height="18"
  48. hc:IconElement.Width="18"
  49. HorizontalAlignment="Right"
  50. />
  51. </hc:SideMenuItem.Icon>
  52. </hc:SideMenuItem>
  53. </hc:SideMenu>
  54. </hc:Card>
  55. <hc:Card x:Name="LeftCard" Grid.Row="0" Grid.Column="1">
  56. </hc:Card>
  57. </Grid>
  58. </Border>
  59. </hc:Window>