aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml
diff options
context:
space:
mode:
authorMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
committerMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
commit00a491d93733d4625ad329b2ba8237f445364b3f (patch)
tree4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml
parent124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff)
downloadTango-00a491d93733d4625ad329b2ba8237f445364b3f.tar.gz
Tango-00a491d93733d4625ad329b2ba8237f445364b3f.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml43
1 files changed, 0 insertions, 43 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml
deleted file mode 100644
index 494e7442e..000000000
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml
+++ /dev/null
@@ -1,43 +0,0 @@
-<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:keyboard="clr-namespace:Tango.Touch.Keyboard"
- xmlns:local="clr-namespace:Tango.Touch.Controls">
-
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../Resources/Colors.xaml" />
- </ResourceDictionary.MergedDictionaries>
-
-
- <Style TargetType="{x:Type local:TouchMultiLineTextBox}">
- <Setter Property="FocusVisualStyle" Value="{x:Null}"></Setter>
- <Setter Property="BorderBrush" Value="{StaticResource TangoDividerBrush}"></Setter>
- <Setter Property="Foreground" Value="{StaticResource TangoDarkForegroundBrush}"></Setter>
- <Setter Property="AcceptsReturn" Value="True"></Setter>
- <Setter Property="TextWrapping" Value="Wrap"></Setter>
- <Setter Property="Height" Value="60"></Setter>
- <Setter Property="Padding" Value="5"></Setter>
- <Setter Property="CornerRadius" Value="3"></Setter>
- <Setter Property="BorderThickness" Value="1"></Setter>
- <Setter Property="keyboard:KeyboardView.Mode" Value="AlphaNumeric"></Setter>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type local:TouchMultiLineTextBox}">
- <Border x:Name="border" CornerRadius="{TemplateBinding CornerRadius}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
- <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"/>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsEnabled" Value="false">
- <Setter Property="Opacity" TargetName="border" Value="0.56"/>
- </Trigger>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter Property="BorderBrush" TargetName="border" Value="{StaticResource TangoDarkForegroundBrush}"/>
- </Trigger>
- <Trigger Property="IsKeyboardFocused" Value="true">
- <Setter Property="BorderBrush" TargetName="border" Value="{StaticResource TangoDarkForegroundBrush}"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-</ResourceDictionary> \ No newline at end of file