OutletsView.axaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d" d:DesignWidth="1550" d:DesignHeight="800.5"
  6. xmlns:vm="using:Acosta.ViewModels"
  7. x:DataType="vm:MainWindowViewModel"
  8. x:Class="Acosta.Views.OutletsView">
  9. <Grid>
  10. <StackPanel Width="1550" Height="50" Background="#E40714" VerticalAlignment="Top">
  11. <StackPanel.Styles>
  12. <Style Selector="TextBlock.headerLogo">
  13. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  14. <Setter Property="FontFamily" Value="Roboto"></Setter>
  15. <Setter Property="FontWeight" Value="Regular"></Setter>
  16. <Setter Property="FontSize" Value="35"></Setter>
  17. <Setter Property="Margin" Value="30 0 0 0"></Setter>
  18. </Style>
  19. <Style Selector="TextBlock.greeting">
  20. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  21. <Setter Property="FontFamily" Value="Roboto"></Setter>
  22. <Setter Property="FontWeight" Value="Medium"></Setter>
  23. <Setter Property="FontSize" Value="20"></Setter>
  24. </Style>
  25. <Style Selector="Button.headerBt">
  26. <Setter Property="Background" Value="Transparent"></Setter>
  27. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  28. <Setter Property="FontFamily" Value="Roboto"></Setter>
  29. <Setter Property="FontSize" Value="20"></Setter>
  30. <Setter Property="FontWeight" Value="Medium"></Setter>
  31. <Setter Property="Margin" Value="0 5 0 0"></Setter>
  32. </Style>
  33. <Style Selector="Button.headerBt:pointerover /template/ ContentPresenter">
  34. <Setter Property="Background" Value="Transparent"></Setter>
  35. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  36. <Setter Property="TextBlock.TextDecorations" Value="Underline"></Setter>
  37. <Setter Property="FontWeight" Value="Medium"></Setter>
  38. <Setter Property="FontSize" Value="20"></Setter>
  39. </Style>
  40. <Style Selector="Button.headerBt:pressed">
  41. <Setter Property="RenderTransform" Value="none"/>
  42. </Style>
  43. </StackPanel.Styles>
  44. <StackPanel Orientation="Horizontal">
  45. <TextBlock Classes="headerLogo">Acosta</TextBlock>
  46. <TextBlock Classes="greeting" Margin="670 12 0 0">Добро пожаловать, оператор</TextBlock>
  47. <TextBlock Classes="greeting" Margin="7 12 0 0" FontWeight="Bold" Name="FIO">Фамилия И.О.</TextBlock>
  48. <TextBlock Classes="greeting" Margin="10 10 0 0">/</TextBlock>
  49. <Button Classes="headerBt" Command="">Изменить пароль</Button>
  50. <TextBlock Classes="greeting" Margin="0 10 0 0">/</TextBlock>
  51. <Button Classes="headerBt" Command="{Binding ExitFromProfile}">Выйти</Button>
  52. </StackPanel>
  53. </StackPanel>
  54. <StackPanel>
  55. <StackPanel.Styles>
  56. <Style Selector="TextBlock.TextBtBack">
  57. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  58. <Setter Property="FontFamily" Value="Roboto"></Setter>
  59. <Setter Property="FontWeight" Value="Medium"></Setter>
  60. <Setter Property="FontSize" Value="20"></Setter>
  61. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  62. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  63. </Style>
  64. <Style Selector="TextBlock.Chapter">
  65. <Setter Property="Foreground" Value="Black"></Setter>
  66. <Setter Property="FontFamily" Value="Roboto"></Setter>
  67. <Setter Property="FontWeight" Value="Medium"></Setter>
  68. <Setter Property="FontSize" Value="20"></Setter>
  69. <Setter Property="Margin" Value="30 85 0 0"></Setter>
  70. </Style>
  71. <Style Selector="Button.BtBack">
  72. <Setter Property="Width" Value="140"></Setter>
  73. <Setter Property="Height" Value="40"></Setter>
  74. <Setter Property="Margin" Value="30 80 0 0"></Setter>
  75. <Setter Property="Background" Value="#E40714"></Setter>
  76. <Setter Property="CornerRadius" Value="13"></Setter>
  77. </Style>
  78. <Style Selector="Button.BtBack:pointerover /template/ ContentPresenter">
  79. <Setter Property="Background" Value="#A10009"></Setter>
  80. </Style>
  81. <Style Selector="Button.BtBack:pressed">
  82. <Setter Property="RenderTransform" Value="none"/>
  83. </Style>
  84. <Style Selector="Button.BtAdd">
  85. <Setter Property="Height" Value="40"></Setter>
  86. <Setter Property="Margin" Value="590 80 0 0"></Setter>
  87. <Setter Property="Background" Value="#E40714"></Setter>
  88. <Setter Property="CornerRadius" Value="13"></Setter>
  89. </Style>
  90. <Style Selector="Button.BtAdd:pointerover /template/ ContentPresenter">
  91. <Setter Property="Background" Value="#A10009"></Setter>
  92. </Style>
  93. <Style Selector="TextBlock.TextBtAdd">
  94. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  95. <Setter Property="FontFamily" Value="Roboto"></Setter>
  96. <Setter Property="FontWeight" Value="Medium"></Setter>
  97. <Setter Property="FontSize" Value="20"></Setter>
  98. <Setter Property="Margin" Value="20 0 0 0"></Setter>
  99. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  100. </Style>
  101. <Style Selector="Button.BtAdd:pressed">
  102. <Setter Property="RenderTransform" Value="none"/>
  103. </Style>
  104. </StackPanel.Styles>
  105. <StackPanel Orientation="Horizontal">
  106. <Button Classes="BtBack" Command="">
  107. <TextBlock Classes="TextBtBack">Назад</TextBlock>
  108. </Button>
  109. <TextBlock Classes="Chapter">Выберите Торговую точку для изменения</TextBlock>
  110. <StackPanel Orientation="Horizontal">
  111. <Button Classes="BtAdd" Width="330" Command="{Binding AddOutletsView}">
  112. <TextBlock Classes="TextBtAdd">Добавить торговую точку</TextBlock>
  113. </Button>
  114. <Image Source="avares://Acosta/Assets/plus.png" Width="25" Margin="-70 80 0 0"></Image>
  115. </StackPanel>
  116. </StackPanel>
  117. </StackPanel>
  118. <StackPanel Background="Transparent" Margin="0 150 0 0" HorizontalAlignment="Center">
  119. <StackPanel.Styles>
  120. <Style Selector="TextBox.EditTextBox">
  121. <Setter Property="Foreground" Value="Black"></Setter>
  122. <Setter Property="FontFamily" Value="Roboto"></Setter>
  123. <Setter Property="FontWeight" Value="Medium"></Setter>
  124. <Setter Property="FontSize" Value="15"></Setter>
  125. <Setter Property="Background" Value="#FFF8F8"></Setter>
  126. <Setter Property="BorderBrush" Value="#E40714"></Setter>
  127. <Setter Property="CornerRadius" Value="13"></Setter>
  128. <Setter Property="BorderThickness" Value="2"></Setter>
  129. <Setter Property="Padding" Value="20 8 0 0"></Setter>
  130. </Style>
  131. <Style Selector="TextBlock.TextColumns">
  132. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  133. <Setter Property="FontFamily" Value="Roboto"></Setter>
  134. <Setter Property="FontWeight" Value="Medium"></Setter>
  135. <Setter Property="FontSize" Value="20"></Setter>
  136. <Setter Property="Margin" Value="40 0 260 0"></Setter>
  137. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  138. </Style>
  139. <Style Selector="Border.TextColumns">
  140. <Setter Property="Margin" Value="0 0 0 20"></Setter>
  141. </Style>
  142. <Style Selector="Border.Data">
  143. <Setter Property="Background" Value="#FFF8F8"></Setter>
  144. <Setter Property="BorderBrush" Value="#E40714"></Setter>
  145. <Setter Property="CornerRadius" Value="13"></Setter>
  146. <Setter Property="BorderThickness" Value="2"></Setter>
  147. </Style>
  148. <Style Selector="TextBlock.Data">
  149. <Setter Property="Background" Value="#FFF8F8"></Setter>
  150. <Setter Property="FontSize" Value="15"></Setter>
  151. <Setter Property="FontFamily" Value="Roboto"></Setter>
  152. <Setter Property="FontWeight" Value="Medium"></Setter>
  153. <Setter Property="Margin" Value="20 0 0 0"></Setter>
  154. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  155. </Style>
  156. <Style Selector="TextBlock.TextBtEdit">
  157. <Setter Property="Foreground" Value="Black"></Setter>
  158. <Setter Property="FontFamily" Value="Roboto"></Setter>
  159. <Setter Property="FontWeight" Value="Medium"></Setter>
  160. <Setter Property="FontSize" Value="15"></Setter>
  161. <Setter Property="Padding" Value="20 4 0 0"></Setter>
  162. </Style>
  163. <Style Selector="Button.BtEdit">
  164. <Setter Property="BorderThickness" Value="2"></Setter>
  165. <Setter Property="Width" Value="180"></Setter>
  166. <Setter Property="Height" Value="38"></Setter>
  167. <Setter Property="Background" Value="#FFF8F8"></Setter>
  168. <Setter Property="CornerRadius" Value="13"></Setter>
  169. <Setter Property="BorderBrush" Value="#E40714"></Setter>
  170. </Style>
  171. <Style Selector="Button.BtEdit:pointerover /template/ ContentPresenter">
  172. <Setter Property="Background" Value="#FFF8F8"></Setter>
  173. <Setter Property="BorderBrush" Value="#E40714"></Setter>
  174. </Style>
  175. <Style Selector="Button.BtEdit:pressed">
  176. <Setter Property="RenderTransform" Value="none"/>
  177. </Style>
  178. </StackPanel.Styles>
  179. <Border Classes="TextColumns" Background="#80E40714" CornerRadius="13" Width="1490" Height="40">
  180. <StackPanel Orientation="Horizontal">
  181. <TextBlock Classes="TextColumns">ID</TextBlock>
  182. <TextBlock Classes="TextColumns">ТОРГОВАЯ СЕТЬ</TextBlock>
  183. <TextBlock Classes="TextColumns">АДРЕС</TextBlock>
  184. <TextBlock Classes="TextColumns">МЕСТОПОЛОЖЕНИЕ</TextBlock>
  185. </StackPanel>
  186. </Border>
  187. <ScrollViewer Height="500">
  188. <StackPanel Orientation="Vertical">
  189. <StackPanel Orientation="Horizontal" Margin="40 0 0 0">
  190. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  191. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  192. </Button>
  193. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  194. <TextBlock Classes="Data">Типа ID</TextBlock>
  195. </Border>-->
  196. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  197. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  198. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  199. </Border>-->
  200. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  201. <TextBlock Classes="Data">Типа адрес</TextBlock>
  202. </Border>
  203. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  204. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  205. </Border>
  206. </StackPanel>
  207. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  208. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  209. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  210. </Button>
  211. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  212. <TextBlock Classes="Data">Типа ID</TextBlock>
  213. </Border>-->
  214. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  215. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  216. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  217. </Border>-->
  218. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  219. <TextBlock Classes="Data">Типа адрес</TextBlock>
  220. </Border>
  221. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  222. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  223. </Border>
  224. </StackPanel>
  225. <!--Пример скролла-->
  226. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  227. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  228. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  229. </Button>
  230. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  231. <TextBlock Classes="Data">Типа ID</TextBlock>
  232. </Border>-->
  233. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  234. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  235. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  236. </Border>-->
  237. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  238. <TextBlock Classes="Data">Типа адрес</TextBlock>
  239. </Border>
  240. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  241. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  242. </Border>
  243. </StackPanel>
  244. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  245. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  246. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  247. </Button>
  248. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  249. <TextBlock Classes="Data">Типа ID</TextBlock>
  250. </Border>-->
  251. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  252. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  253. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  254. </Border>-->
  255. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  256. <TextBlock Classes="Data">Типа адрес</TextBlock>
  257. </Border>
  258. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  259. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  260. </Border>
  261. </StackPanel>
  262. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  263. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  264. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  265. </Button>
  266. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  267. <TextBlock Classes="Data">Типа ID</TextBlock>
  268. </Border>-->
  269. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  270. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  271. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  272. </Border>-->
  273. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  274. <TextBlock Classes="Data">Типа адрес</TextBlock>
  275. </Border>
  276. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  277. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  278. </Border>
  279. </StackPanel>
  280. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  281. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  282. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  283. </Button>
  284. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  285. <TextBlock Classes="Data">Типа ID</TextBlock>
  286. </Border>-->
  287. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  288. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  289. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  290. </Border>-->
  291. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  292. <TextBlock Classes="Data">Типа адрес</TextBlock>
  293. </Border>
  294. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  295. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  296. </Border>
  297. </StackPanel>
  298. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  299. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  300. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  301. </Button>
  302. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  303. <TextBlock Classes="Data">Типа ID</TextBlock>
  304. </Border>-->
  305. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  306. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  307. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  308. </Border>-->
  309. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  310. <TextBlock Classes="Data">Типа адрес</TextBlock>
  311. </Border>
  312. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  313. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  314. </Border>
  315. </StackPanel>
  316. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  317. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  318. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  319. </Button>
  320. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  321. <TextBlock Classes="Data">Типа ID</TextBlock>
  322. </Border>-->
  323. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  324. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  325. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  326. </Border>-->
  327. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  328. <TextBlock Classes="Data">Типа адрес</TextBlock>
  329. </Border>
  330. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  331. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  332. </Border>
  333. </StackPanel>
  334. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  335. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  336. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  337. </Button>
  338. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  339. <TextBlock Classes="Data">Типа ID</TextBlock>
  340. </Border>-->
  341. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  342. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  343. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  344. </Border>-->
  345. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  346. <TextBlock Classes="Data">Типа адрес</TextBlock>
  347. </Border>
  348. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  349. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  350. </Border>
  351. </StackPanel>
  352. <StackPanel Orientation="Horizontal" Margin="40 20 0 0">
  353. <Button Classes="BtEdit" Width="180" Height="40" Margin="0 0 140 0" Command="{Binding EditOutletsView}">
  354. <TextBlock Classes="TextBtEdit">Типа ID</TextBlock>
  355. </Button>
  356. <!--<Border Classes="Data" CornerRadius="13" Width="180" Height="40" Margin="0 0 140 0">
  357. <TextBlock Classes="Data">Типа ID</TextBlock>
  358. </Border>-->
  359. <TextBox Classes="EditTextBox" Width="310" Margin="0 0 140 0">Типа название торговой сети</TextBox>
  360. <!--<Border Classes="Data" CornerRadius="13" Width="310" Height="40" Margin="0 0 140 0">
  361. <TextBlock Classes="Data">Типа название торговой сети</TextBlock>
  362. </Border>-->
  363. <Border Classes="Data" CornerRadius="13" Width="220" Height="40" Margin="0 0 145 0">
  364. <TextBlock Classes="Data">Типа адрес</TextBlock>
  365. </Border>
  366. <Border Classes="Data" CornerRadius="13" Width="280" Height="40">
  367. <TextBlock Classes="Data">Типа местоположение</TextBlock>
  368. </Border>
  369. </StackPanel>
  370. </StackPanel>
  371. </ScrollViewer>
  372. </StackPanel>
  373. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
  374. <StackPanel.Styles>
  375. <Style Selector="TextBlock.TextBtSave">
  376. <Setter Property="Foreground" Value="#F5F5F5"></Setter>
  377. <Setter Property="FontFamily" Value="Roboto"></Setter>
  378. <Setter Property="FontWeight" Value="Medium"></Setter>
  379. <Setter Property="FontSize" Value="20"></Setter>
  380. <Setter Property="HorizontalAlignment" Value="Center"></Setter>
  381. <Setter Property="VerticalAlignment" Value="Center"></Setter>
  382. </Style>
  383. <Style Selector="Button.BtSave">
  384. <Setter Property="Width" Value="180"></Setter>
  385. <Setter Property="Height" Value="38"></Setter>
  386. <Setter Property="Margin" Value="0 740 30 20"></Setter>
  387. <Setter Property="Background" Value="#E40714"></Setter>
  388. <Setter Property="CornerRadius" Value="13"></Setter>
  389. </Style>
  390. <Style Selector="Button.BtSave:pointerover /template/ ContentPresenter">
  391. <Setter Property="Background" Value="#A10009"></Setter>
  392. </Style>
  393. <Style Selector="Button.BtSave:pressed">
  394. <Setter Property="RenderTransform" Value="none"/>
  395. </Style>
  396. </StackPanel.Styles>
  397. <Button Classes="BtSave" Command="">
  398. <TextBlock Classes="TextBtSave">Сохранить</TextBlock>
  399. </Button>
  400. </StackPanel>
  401. </Grid>
  402. </UserControl>