|
- <UserControl
- x:Class="BPASmartClient.CustomResource.UserControls.WatermarkText"
- 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:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- d:DesignHeight="30"
- d:DesignWidth="100"
- mc:Ignorable="d">
-
- <Border
- Background="{Binding WTBackground}"
- BorderBrush="{Binding Stroke}"
- BorderThickness="{Binding StrokeThickness}"
- CornerRadius="{Binding WTCornerRadius}">
- <Grid>
- <TextBox
- Name="Maintb"
- Margin="5,0,0,0"
- Background="Transparent"
- BorderThickness="0"
- Text="{Binding Text}" />
- <TextBlock
- Name="Subtb"
- Margin="5,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Background="Transparent"
- Foreground="{Binding SubForeground}"
- IsHitTestVisible="False"
- Text="{Binding SubText}" />
- </Grid>
-
- </Border>
- </UserControl>
|