|
|
@ -1,9 +1,6 @@ |
|
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
xmlns:local="clr-namespace:Microsoft.Windows.Controls" |
|
|
xmlns:local="clr-namespace:Microsoft.Windows.Controls"> |
|
|
xmlns:coreConverters="clr-namespace:Microsoft.Windows.Controls.Core.Converters"> |
|
|
|
|
|
|
|
|
|
|
|
<coreConverters:InverseBoolConverter x:Key="InverseBoolConverter" /> |
|
|
|
|
|
|
|
|
|
|
|
<DataTemplate x:Key="DefaultWatermarkTemplate"> |
|
|
<DataTemplate x:Key="DefaultWatermarkTemplate"> |
|
|
<ContentControl Content="{Binding}" Foreground="Gray" Focusable="False" /> |
|
|
<ContentControl Content="{Binding}" Foreground="Gray" Focusable="False" /> |
|
|
@ -36,7 +33,7 @@ |
|
|
FontWeight="{TemplateBinding FontWeight}" |
|
|
FontWeight="{TemplateBinding FontWeight}" |
|
|
Foreground="{TemplateBinding Foreground}" |
|
|
Foreground="{TemplateBinding Foreground}" |
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
IsReadOnly="{Binding IsEditable, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InverseBoolConverter}}" |
|
|
IsReadOnly="{Binding IsReadOnly, RelativeSource={RelativeSource TemplatedParent}}" |
|
|
MinWidth="20" AcceptsReturn="False" |
|
|
MinWidth="20" AcceptsReturn="False" |
|
|
TextAlignment="{TemplateBinding TextAlignment}" |
|
|
TextAlignment="{TemplateBinding TextAlignment}" |
|
|
TextWrapping="NoWrap" |
|
|
TextWrapping="NoWrap" |
|
|
|