diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-06-16 07:21:31 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-06-16 07:21:31 +0300 |
| commit | fe7108fd24e8dd403b4efb3557d32013ce1f9a06 (patch) | |
| tree | 64917dd788554eb6f60400ae066002e8d2a93205 /Software/Visual_Studio/Tango.Touch | |
| parent | 56b93b90a8273af22b4430a2cf842d73163aafb6 (diff) | |
| download | Tango-fe7108fd24e8dd403b4efb3557d32013ce1f9a06.tar.gz Tango-fe7108fd24e8dd403b4efb3557d32013ce1f9a06.zip | |
Production data graph.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs | 7 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs index f3c554a8c..70e9608bd 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.cs @@ -18,6 +18,13 @@ namespace Tango.Touch.Controls public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(TouchMultiLineTextBox), new PropertyMetadata(new CornerRadius(0))); + public FrameworkElement KeyboardContainer + { + get { return (FrameworkElement)GetValue(KeyboardContainerProperty); } + set { SetValue(KeyboardContainerProperty, value); } + } + public static readonly DependencyProperty KeyboardContainerProperty = + DependencyProperty.Register("KeyboardContainer", typeof(FrameworkElement), typeof(FrameworkElement), new PropertyMetadata(null)); static TouchMultiLineTextBox() diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml index 494e7442e..69bdcb756 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchMultiLineTextBox.xaml @@ -19,6 +19,7 @@ <Setter Property="CornerRadius" Value="3"></Setter> <Setter Property="BorderThickness" Value="1"></Setter> <Setter Property="keyboard:KeyboardView.Mode" Value="AlphaNumeric"></Setter> + <Setter Property="keyboard:KeyboardView.Container" Value="{Binding RelativeSource={RelativeSource Self},Path=KeyboardContainer}"></Setter> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type local:TouchMultiLineTextBox}"> |
