Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="WpfApp2.createcampaignStep4"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:WpfApp2"
- mc:Ignorable="d"
- Title="Campaign"
- Height="600"
- Width="800"
- MinHeight="600" MinWidth="800"
- WindowStartupLocation="CenterScreen"
- Topmost="True"
- >
- <Window.Resources>
- <Style TargetType="{x:Type Label}">
- <Setter Property="FontSize" Value="20"/>
- <Setter Property="FontFamily" Value="Segoe UI"/>
- </Style>
- <Style x:Key="TabItemTextBox" TargetType="{x:Type TextBox}">
- <Setter Property="FontSize" Value="20"/>
- <Setter Property="Height" Value="40"/>
- <Setter Property="Margin" Value="10"/>
- <Setter Property="BorderBrush" Value="SkyBlue"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- </Style>
- <Style x:Key="localComboBox" TargetType="{x:Type ComboBox}">
- <Setter Property="FontSize" Value="15"/>
- <Setter Property="Height" Value="30"/>
- <Setter Property="Margin" Value="10"/>
- <Setter Property="BorderBrush" Value="SkyBlue"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- <Setter Property="HorizontalContentAlignment" Value="Left"/>
- </Style>
- <Style x:Key="localButtons" TargetType="{x:Type Button}">
- <Setter Property="FontSize" Value="15"/>
- <Setter Property="Background" Value="CornflowerBlue"/>
- <Setter Property="Foreground" Value="White"/>
- <Setter Property="Margin" Value="5"/>
- <Setter Property="Height" Value="40"/>
- </Style>
- <Style TargetType="{x:Type RadioButton}" x:Key="localRadiobutton">
- <Setter Property="FontSize" Value="20"/>
- <Setter Property="Height" Value="40"/>
- <Setter Property="HorizontalAlignment" Value="Left"/>
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- <Setter Property="VerticalAlignment" Value="Center"/>
- </Style>
- <Style TargetType="TabItem">
- <Setter Property="FontSize" Value="20"/>
- <Setter Property="FontFamily" Value="Segoe UI"/>
- <Setter Property="VerticalAlignment" Value="Center"/>
- <Setter Property="Padding" Value="10"/>
- <Setter Property="Width" Value="196"/>
- <Setter Property="Height" Value="50"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="TabItem">
- <Border Name="Border" BorderThickness="1,1,1,0" BorderBrush="Gainsboro" CornerRadius="4,4,0,0" Margin="2,0">
- <ContentPresenter x:Name="ContentSite"
- VerticalAlignment="Center"
- HorizontalAlignment="Center"
- ContentSource="Header"
- Margin="10,2"/>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsSelected" Value="True">
- <Setter TargetName="Border" Property="Background" Value="White" />
- </Trigger>
- <Trigger Property="IsSelected" Value="False">
- <Setter TargetName="Border" Property="Background" Value="LightGray" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </Window.Resources>
- <Grid Background="AliceBlue">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="10"/>
- <ColumnDefinition/>
- <ColumnDefinition />
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition Width="10"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="35"/>
- <RowDefinition/>
- <RowDefinition />
- <RowDefinition />
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="10"/>
- </Grid.RowDefinitions>
- <Border Grid.Row="0"
- Grid.Column="0"
- Grid.RowSpan="2"
- Grid.ColumnSpan="7"
- Background="Black">
- <Label Content="Anchor Text"
- HorizontalAlignment="Left"
- VerticalAlignment="Stretch"
- FontSize="40"
- Foreground="Orange"/>
- </Border>
- <Border Grid.Row="0"
- Grid.Column="6"
- Grid.RowSpan="2"
- Grid.ColumnSpan="10"
- Background="Black">
- </Border>
- <Label
- Grid.Row="0"
- Grid.Column="8"
- Grid.RowSpan="2"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="White"
- FontSize="15"
- Content="Help"
- />
- <Label
- Grid.Row="0"
- Grid.Column="9"
- Grid.RowSpan="2"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="White"
- FontSize="15"
- Content="Tutorials"/>
- <Label
- Grid.Row="0"
- Grid.Column="10"
- Grid.RowSpan="2"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="15"
- Foreground="White"
- Content="Support"/>
- <TabControl
- TabStripPlacement="Left"
- Grid.Row="2"
- Grid.Column="0"
- Grid.ColumnSpan="12"
- Grid.RowSpan="5"
- >
- <TabControl.ContentTemplate>
- <DataTemplate>
- <Border Background="Transparent" BorderThickness="0" >
- <ContentPresenter Content="{Binding}"/>
- </Border>
- </DataTemplate>
- </TabControl.ContentTemplate>
- <TabItem Header="Tier 1 Strategy">
- <Grid>
- <TabControl TabStripPlacement="Left" >
- <TabItem>
- <TabItem.Header>
- <StackPanel Orientation="Horizontal">
- <CheckBox />
- <Label Content="Primary Keywords" VerticalAlignment="Center" FontSize="18" />
- </StackPanel>
- </TabItem.Header>
- <Grid Background="LightGray">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBox Grid.Row="0" Grid.Column="0" Text="type something"
- Style="{StaticResource TabItemTextBox}"
- VerticalAlignment="Top"
- />
- <StackPanel Orientation="Vertical" Grid.RowSpan="4" Grid.Column="1">
- <StackPanel Orientation="Vertical">
- <Label Content="Primary KWs %"/>
- <ComboBox Style="{StaticResource localComboBox}">
- <ComboBoxItem IsSelected="True" Content="0"/>
- <ComboBoxItem Content="1"/>
- <ComboBoxItem Content="2"/>
- <ComboBoxItem Content="3"/>
- <ComboBoxItem Content="4"/>
- <ComboBoxItem Content="5"/>
- <ComboBoxItem Content="6"/>
- </ComboBox>
- </StackPanel>
- <StackPanel Orientation="Vertical">
- <Label Content="Generic KWs %"/>
- <ComboBox Style="{StaticResource localComboBox}">
- <ComboBoxItem IsSelected="True" Content="Default"/>
- <ComboBoxItem Content="Option 1"/>
- <ComboBoxItem Content="Option 2"/>
- <ComboBoxItem Content="Option 3"/>
- </ComboBox>
- </StackPanel>
- <StackPanel Orientation="Vertical">
- <Label Content="Branded KWs %"/>
- <ComboBox Style="{StaticResource localComboBox}">
- <ComboBoxItem IsSelected="True" Content="Default"/>
- <ComboBoxItem Content="Option 1"/>
- <ComboBoxItem Content="Option 2"/>
- <ComboBoxItem Content="Option 3"/>
- </ComboBox>
- </StackPanel>
- <StackPanel Orientation="Vertical">
- <Label Content="Partial Match KWs %"/>
- <ComboBox Style="{StaticResource localComboBox}">
- <ComboBoxItem IsSelected="True" Content="Default"/>
- <ComboBoxItem Content="Option 1"/>
- <ComboBoxItem Content="Option 2"/>
- <ComboBoxItem Content="Option 3"/>
- </ComboBox>
- </StackPanel>
- </StackPanel>
- </Grid>
- </TabItem>
- <TabItem>
- <TabItem.Header>
- <StackPanel Orientation="Horizontal">
- <CheckBox/>
- <Label Content="Generic Keywords" VerticalAlignment="Center" FontSize="18" />
- </StackPanel>
- </TabItem.Header>
- <Label Content="Area for Generic Keywords"/>
- </TabItem>
- </TabControl>
- </Grid>
- </TabItem>
- <TabItem Header="Tier 2,3, 4 Strategy" >
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Label Content="Area for Tier 2,3,4 Strategy" Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4"/>
- </Grid>
- </TabItem>
- </TabControl>
- <Button
- Content="Back"
- Background="CornflowerBlue"
- FontSize="15"
- Foreground="White"
- Grid.Row="8"
- Grid.Column="5"
- Margin="5"
- Grid.ColumnSpan="2"
- />
- <Button
- Content="Cancel"
- Background="CornflowerBlue"
- FontSize="15"
- Foreground="White"
- Grid.Row="8"
- Grid.Column="7"
- Margin="5"
- Grid.ColumnSpan="2"
- />
- <Button
- Content="Next"
- Background="CornflowerBlue"
- FontSize="15"
- Foreground="White"
- Grid.Row="8"
- Grid.Column="9"
- Margin="5"
- Grid.ColumnSpan="2"/>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment