sunny9495

Untitled

Jan 23rd, 2021
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.40 KB | None | 0 0
  1. <Window x:Class="WpfApp2.createcampaignStep4"
  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:local="clr-namespace:WpfApp2"
  7. mc:Ignorable="d"
  8. Title="Campaign"
  9. Height="600"
  10. Width="800"
  11. MinHeight="600" MinWidth="800"
  12. WindowStartupLocation="CenterScreen"
  13. Topmost="True"
  14. >
  15. <Window.Resources>
  16. <Style TargetType="{x:Type Label}">
  17. <Setter Property="FontSize" Value="20"/>
  18. <Setter Property="FontFamily" Value="Segoe UI"/>
  19. </Style>
  20. <Style x:Key="TabItemTextBox" TargetType="{x:Type TextBox}">
  21. <Setter Property="FontSize" Value="20"/>
  22. <Setter Property="Height" Value="40"/>
  23. <Setter Property="Margin" Value="10"/>
  24. <Setter Property="BorderBrush" Value="SkyBlue"/>
  25. <Setter Property="VerticalContentAlignment" Value="Center"/>
  26. </Style>
  27. <Style x:Key="localComboBox" TargetType="{x:Type ComboBox}">
  28. <Setter Property="FontSize" Value="15"/>
  29. <Setter Property="Height" Value="30"/>
  30. <Setter Property="Margin" Value="10"/>
  31. <Setter Property="BorderBrush" Value="SkyBlue"/>
  32. <Setter Property="VerticalContentAlignment" Value="Center"/>
  33. <Setter Property="HorizontalContentAlignment" Value="Left"/>
  34. </Style>
  35. <Style x:Key="localButtons" TargetType="{x:Type Button}">
  36. <Setter Property="FontSize" Value="15"/>
  37. <Setter Property="Background" Value="CornflowerBlue"/>
  38. <Setter Property="Foreground" Value="White"/>
  39. <Setter Property="Margin" Value="5"/>
  40. <Setter Property="Height" Value="40"/>
  41. </Style>
  42. <Style TargetType="{x:Type RadioButton}" x:Key="localRadiobutton">
  43. <Setter Property="FontSize" Value="20"/>
  44. <Setter Property="Height" Value="40"/>
  45. <Setter Property="HorizontalAlignment" Value="Left"/>
  46. <Setter Property="HorizontalContentAlignment" Value="Center"/>
  47. <Setter Property="VerticalContentAlignment" Value="Center"/>
  48. <Setter Property="VerticalAlignment" Value="Center"/>
  49. </Style>
  50. <Style TargetType="TabItem">
  51. <Setter Property="FontSize" Value="20"/>
  52. <Setter Property="FontFamily" Value="Segoe UI"/>
  53. <Setter Property="VerticalAlignment" Value="Center"/>
  54. <Setter Property="Padding" Value="10"/>
  55. <Setter Property="Width" Value="196"/>
  56. <Setter Property="Height" Value="50"/>
  57. <Setter Property="Template">
  58. <Setter.Value>
  59. <ControlTemplate TargetType="TabItem">
  60. <Border Name="Border" BorderThickness="1,1,1,0" BorderBrush="Gainsboro" CornerRadius="4,4,0,0" Margin="2,0">
  61. <ContentPresenter x:Name="ContentSite"
  62. VerticalAlignment="Center"
  63. HorizontalAlignment="Center"
  64. ContentSource="Header"
  65. Margin="10,2"/>
  66. </Border>
  67. <ControlTemplate.Triggers>
  68. <Trigger Property="IsSelected" Value="True">
  69. <Setter TargetName="Border" Property="Background" Value="White" />
  70. </Trigger>
  71. <Trigger Property="IsSelected" Value="False">
  72. <Setter TargetName="Border" Property="Background" Value="LightGray" />
  73. </Trigger>
  74. </ControlTemplate.Triggers>
  75. </ControlTemplate>
  76. </Setter.Value>
  77. </Setter>
  78. </Style>
  79.  
  80.  
  81. </Window.Resources>
  82. <Grid Background="AliceBlue">
  83. <Grid.ColumnDefinitions>
  84. <ColumnDefinition Width="10"/>
  85. <ColumnDefinition/>
  86. <ColumnDefinition />
  87. <ColumnDefinition/>
  88. <ColumnDefinition/>
  89. <ColumnDefinition/>
  90. <ColumnDefinition/>
  91. <ColumnDefinition/>
  92. <ColumnDefinition/>
  93. <ColumnDefinition/>
  94. <ColumnDefinition/>
  95. <ColumnDefinition Width="10"/>
  96.  
  97. </Grid.ColumnDefinitions>
  98. <Grid.RowDefinitions>
  99. <RowDefinition Height="30"/>
  100. <RowDefinition Height="35"/>
  101. <RowDefinition/>
  102. <RowDefinition />
  103. <RowDefinition />
  104. <RowDefinition/>
  105. <RowDefinition/>
  106. <RowDefinition Height="40"/>
  107. <RowDefinition Height="50"/>
  108. <RowDefinition Height="10"/>
  109. </Grid.RowDefinitions>
  110.  
  111.  
  112. <Border Grid.Row="0"
  113. Grid.Column="0"
  114. Grid.RowSpan="2"
  115. Grid.ColumnSpan="7"
  116. Background="Black">
  117.  
  118. <Label Content="Anchor Text"
  119. HorizontalAlignment="Left"
  120. VerticalAlignment="Stretch"
  121. FontSize="40"
  122. Foreground="Orange"/>
  123. </Border>
  124.  
  125. <Border Grid.Row="0"
  126. Grid.Column="6"
  127. Grid.RowSpan="2"
  128. Grid.ColumnSpan="10"
  129. Background="Black">
  130. </Border>
  131. <Label
  132. Grid.Row="0"
  133. Grid.Column="8"
  134. Grid.RowSpan="2"
  135. HorizontalAlignment="Center"
  136. VerticalAlignment="Center"
  137. Foreground="White"
  138. FontSize="15"
  139. Content="Help"
  140. />
  141.  
  142. <Label
  143. Grid.Row="0"
  144. Grid.Column="9"
  145. Grid.RowSpan="2"
  146. HorizontalAlignment="Center"
  147. VerticalAlignment="Center"
  148. Foreground="White"
  149. FontSize="15"
  150. Content="Tutorials"/>
  151.  
  152. <Label
  153. Grid.Row="0"
  154. Grid.Column="10"
  155. Grid.RowSpan="2"
  156. HorizontalAlignment="Center"
  157. VerticalAlignment="Center"
  158. FontSize="15"
  159. Foreground="White"
  160. Content="Support"/>
  161.  
  162.  
  163.  
  164. <TabControl
  165. TabStripPlacement="Left"
  166. Grid.Row="2"
  167. Grid.Column="0"
  168. Grid.ColumnSpan="12"
  169. Grid.RowSpan="5"
  170. >
  171.  
  172. <TabControl.ContentTemplate>
  173. <DataTemplate>
  174. <Border Background="Transparent" BorderThickness="0" >
  175. <ContentPresenter Content="{Binding}"/>
  176. </Border>
  177. </DataTemplate>
  178. </TabControl.ContentTemplate>
  179.  
  180. <TabItem Header="Tier 1 Strategy">
  181. <Grid>
  182. <TabControl TabStripPlacement="Left" >
  183. <TabItem>
  184. <TabItem.Header>
  185. <StackPanel Orientation="Horizontal">
  186. <CheckBox />
  187. <Label Content="Primary Keywords" VerticalAlignment="Center" FontSize="18" />
  188. </StackPanel>
  189. </TabItem.Header>
  190. <Grid Background="LightGray">
  191. <Grid.ColumnDefinitions>
  192. <ColumnDefinition/>
  193. <ColumnDefinition/>
  194. </Grid.ColumnDefinitions>
  195. <Grid.RowDefinitions>
  196. <RowDefinition/>
  197. <RowDefinition/>
  198. <RowDefinition/>
  199. <RowDefinition/>
  200. </Grid.RowDefinitions>
  201. <TextBox Grid.Row="0" Grid.Column="0" Text="type something"
  202. Style="{StaticResource TabItemTextBox}"
  203. VerticalAlignment="Top"
  204. />
  205. <StackPanel Orientation="Vertical" Grid.RowSpan="4" Grid.Column="1">
  206. <StackPanel Orientation="Vertical">
  207. <Label Content="Primary KWs %"/>
  208. <ComboBox Style="{StaticResource localComboBox}">
  209. <ComboBoxItem IsSelected="True" Content="0"/>
  210. <ComboBoxItem Content="1"/>
  211. <ComboBoxItem Content="2"/>
  212. <ComboBoxItem Content="3"/>
  213. <ComboBoxItem Content="4"/>
  214. <ComboBoxItem Content="5"/>
  215. <ComboBoxItem Content="6"/>
  216. </ComboBox>
  217. </StackPanel>
  218.  
  219. <StackPanel Orientation="Vertical">
  220. <Label Content="Generic KWs %"/>
  221. <ComboBox Style="{StaticResource localComboBox}">
  222. <ComboBoxItem IsSelected="True" Content="Default"/>
  223. <ComboBoxItem Content="Option 1"/>
  224. <ComboBoxItem Content="Option 2"/>
  225. <ComboBoxItem Content="Option 3"/>
  226. </ComboBox>
  227. </StackPanel>
  228.  
  229. <StackPanel Orientation="Vertical">
  230. <Label Content="Branded KWs %"/>
  231. <ComboBox Style="{StaticResource localComboBox}">
  232. <ComboBoxItem IsSelected="True" Content="Default"/>
  233. <ComboBoxItem Content="Option 1"/>
  234. <ComboBoxItem Content="Option 2"/>
  235. <ComboBoxItem Content="Option 3"/>
  236. </ComboBox>
  237. </StackPanel>
  238. <StackPanel Orientation="Vertical">
  239. <Label Content="Partial Match KWs %"/>
  240. <ComboBox Style="{StaticResource localComboBox}">
  241. <ComboBoxItem IsSelected="True" Content="Default"/>
  242. <ComboBoxItem Content="Option 1"/>
  243. <ComboBoxItem Content="Option 2"/>
  244. <ComboBoxItem Content="Option 3"/>
  245. </ComboBox>
  246. </StackPanel>
  247. </StackPanel>
  248. </Grid>
  249. </TabItem>
  250.  
  251. <TabItem>
  252. <TabItem.Header>
  253. <StackPanel Orientation="Horizontal">
  254. <CheckBox/>
  255. <Label Content="Generic Keywords" VerticalAlignment="Center" FontSize="18" />
  256. </StackPanel>
  257. </TabItem.Header>
  258. <Label Content="Area for Generic Keywords"/>
  259. </TabItem>
  260. </TabControl>
  261. </Grid>
  262. </TabItem>
  263. <TabItem Header="Tier 2,3, 4 Strategy" >
  264. <Grid>
  265. <Grid.ColumnDefinitions>
  266. <ColumnDefinition/>
  267. <ColumnDefinition/>
  268. <ColumnDefinition/>
  269. <ColumnDefinition/>
  270. </Grid.ColumnDefinitions>
  271. <Grid.RowDefinitions>
  272. <RowDefinition/>
  273. <RowDefinition/>
  274. <RowDefinition/>
  275. <RowDefinition/>
  276. </Grid.RowDefinitions>
  277. <Label Content="Area for Tier 2,3,4 Strategy" Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4"/>
  278. </Grid>
  279. </TabItem>
  280. </TabControl>
  281.  
  282. <Button
  283. Content="Back"
  284. Background="CornflowerBlue"
  285. FontSize="15"
  286. Foreground="White"
  287. Grid.Row="8"
  288. Grid.Column="5"
  289. Margin="5"
  290. Grid.ColumnSpan="2"
  291. />
  292. <Button
  293. Content="Cancel"
  294. Background="CornflowerBlue"
  295. FontSize="15"
  296. Foreground="White"
  297. Grid.Row="8"
  298. Grid.Column="7"
  299. Margin="5"
  300. Grid.ColumnSpan="2"
  301. />
  302. <Button
  303. Content="Next"
  304. Background="CornflowerBlue"
  305. FontSize="15"
  306. Foreground="White"
  307. Grid.Row="8"
  308. Grid.Column="9"
  309. Margin="5"
  310. Grid.ColumnSpan="2"/>
  311. </Grid>
  312. </Window>
Advertisement
Add Comment
Please, Sign In to add comment