1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| <UserControl x:Name="userControl" x:Class="AppointmentRectangle"
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:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
mc:Ignorable="d"
d:DesignHeight="182" d:DesignWidth="494" Width="Auto">
<Grid>
<Rectangle x:Name="rectangle" Style="{DynamicResource Appointment}">
</Rectangle>
<Border x:Name="border" Style="{DynamicResource BorderStyle}"/>
<TextBox x:Name="textBox" Style="{DynamicResource TextBoxStyle1}" FocusVisualStyle="{DynamicResource TBFocusStyle}" Text="{Binding Text, ElementName=userControl, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</Grid>
</UserControl> |