1234567891011121314151617181920212223242526272829303132333435363738 |
- <UserControl x:Class="Venus_Themes.UserControls.StateTitle"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:Venus_Themes.UserControls"
- mc:Ignorable="d"
- d:DesignHeight="40" d:DesignWidth="800" x:Name="stateTitle">
- <!--<Border BorderThickness="1" BorderBrush="#D7D7D7">-->
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition Width="2*"/>
- </Grid.ColumnDefinitions>
- <TextBox Text="{Binding ElementName=stateTitle,Path=Title}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="{Binding ElementName=stateTitle,Path=LabelColor}" Height="30" VerticalAlignment="Center" BorderThickness="1" BorderBrush="Silver" Foreground="#076DB6" FontWeight="Bold" FontSize="15" IsReadOnly="True">
- <TextBox.Resources>
- <Style TargetType="{x:Type Border}">
- <Setter Property="CornerRadius" Value="4 0 0 4"/>
- <Setter Property="BorderBrush" Value="Black"/>
- <Setter Property="BorderThickness" Value="1"/>
- </Style>
- </TextBox.Resources>
- </TextBox>
- <TextBox Grid.Column="1" Text="{Binding ElementName=stateTitle,Path=TextBoxValue}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="{Binding ElementName=stateTitle,Path=TextBoxColor}" Height="30" VerticalAlignment="Center" BorderThickness="0 1 1 1" BorderBrush="Silver" Foreground="Black" Margin="0 0 5 0" FontSize="18" IsReadOnly="True">
- <TextBox.Resources>
- <Style TargetType="{x:Type Border}">
- <Setter Property="CornerRadius" Value="0 4 4 0"/>
- <Setter Property="BorderBrush" Value="Black"/>
- </Style>
- </TextBox.Resources>
- </TextBox>
- </Grid>
-
- <!--</Border>-->
-
- </UserControl>
|