diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Console/ConsoleControl.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Console/ConsoleControl.xaml.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Console/ConsoleControl.xaml.cs b/Software/Visual_Studio/Tango.Console/ConsoleControl.xaml.cs index 97059227c..83ba09bd7 100644 --- a/Software/Visual_Studio/Tango.Console/ConsoleControl.xaml.cs +++ b/Software/Visual_Studio/Tango.Console/ConsoleControl.xaml.cs @@ -50,6 +50,31 @@ namespace Tango.Console public static readonly DependencyProperty BusyTemplateProperty = DependencyProperty.Register("BusyTemplate", typeof(DataTemplate), typeof(ConsoleControl), new PropertyMetadata(null)); + public Brush SuggestionsBorderBrush + { + get { return (Brush)GetValue(SuggestionsBorderBrushProperty); } + set { SetValue(SuggestionsBorderBrushProperty, value); } + } + public static readonly DependencyProperty SuggestionsBorderBrushProperty = + DependencyProperty.Register("SuggestionsBorderBrush", typeof(Brush), typeof(ConsoleControl), new PropertyMetadata(null)); + + public Brush SuggestionsBackground + { + get { return (Brush)GetValue(SuggestionsBackgroundProperty); } + set { SetValue(SuggestionsBackgroundProperty, value); } + } + public static readonly DependencyProperty SuggestionsBackgroundProperty = + DependencyProperty.Register("SuggestionsBackground", typeof(Brush), typeof(ConsoleControl), new PropertyMetadata(null)); + + public Brush SuggestionsForeground + { + get { return (Brush)GetValue(SuggestionsForegroundProperty); } + set { SetValue(SuggestionsForegroundProperty, value); } + } + public static readonly DependencyProperty SuggestionsForegroundProperty = + DependencyProperty.Register("SuggestionsForeground", typeof(Brush), typeof(ConsoleControl), new PropertyMetadata(null)); + + private void ConsoleControl_MouseDown(object sender, MouseButtonEventArgs e) { Keyboard.Focus(txtCurrentCommand); |
