35 lines
2.0 KiB
XML
35 lines
2.0 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:Views"
|
|
xmlns:mylocal="clr-namespace:Views.MyControl">
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="Styles.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
|
|
<!--<Style TargetType="{x:Type mylocal:TimeSpanPicker}">
|
|
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type mylocal:TimeSpanPicker}">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}">
|
|
<StackPanel Orientation="Horizontal">
|
|
<mylocal:TimeTextBox x:Name="hourTbx" MinWidth="20" Text="{Binding Path=Hour, RelativeSource={RelativeSource TemplatedParent},UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Height="Auto" >
|
|
</mylocal:TimeTextBox>
|
|
<Label Content=":" VerticalAlignment="Center" Height="Auto"/>
|
|
<locmylocalal1:TimeTextBox MinWidth="20" Text="{Binding Path=Minute,RelativeSource={RelativeSource TemplatedParent},UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Height="Auto"></locmylocalal1:TimeTextBox>
|
|
<Label Content=":" VerticalAlignment="Center" Height="Auto"/>
|
|
<mylocal:TimeTextBox MinWidth="20" Text="{Binding Path=Second,RelativeSource={RelativeSource TemplatedParent},UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Height="Auto"></mylocal:TimeTextBox>
|
|
</StackPanel>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>-->
|
|
|
|
</ResourceDictionary>
|