tkuhn1l6 | e4eb4cd | 2019-05-16 11:06:07 +0200 | [diff] [blame] | 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.Linq; |
| 4 | using System.Text; |
| 5 | using System.Threading.Tasks; |
| 6 | using System.Windows; |
| 7 | using System.Windows.Controls; |
| 8 | using System.Windows.Data; |
| 9 | using System.Windows.Documents; |
| 10 | using System.Windows.Input; |
| 11 | using System.Windows.Media; |
| 12 | using System.Windows.Media.Imaging; |
| 13 | using System.Windows.Navigation; |
| 14 | using System.Windows.Shapes; |
| 15 | |
| 16 | /* Copyright (c) 2018-2019 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international>, author: Michael Hoffmeister |
| 17 | This software is licensed under the Eclipse Public License - v 2.0 (EPL-2.0) (see https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt). |
| 18 | The browser functionality is under the cefSharp license (see https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE). |
| 19 | The JSON serialization is under the MIT license (see https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md). */ |
| 20 | |
| 21 | namespace AasxPackageExplorer |
| 22 | { |
| 23 | /// <summary> |
| 24 | /// Interaktionslogik für HintBubble.xaml |
| 25 | /// </summary> |
| 26 | public partial class HintBubble : UserControl |
| 27 | { |
| 28 | public HintBubble() |
| 29 | { |
| 30 | InitializeComponent(); |
| 31 | } |
| 32 | |
| 33 | public string Text |
| 34 | { |
| 35 | get |
| 36 | { |
| 37 | return innerbubble.Text; |
| 38 | } |
| 39 | set |
| 40 | { |
| 41 | innerbubble.Text = value; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | public new Brush Foreground |
| 46 | { |
| 47 | get { return innerbubble.Foreground; } |
| 48 | set { innerbubble.Foreground = value; } |
| 49 | } |
| 50 | |
| 51 | public new Brush Background |
| 52 | { |
| 53 | get { return innerbubble.Background; } |
| 54 | set |
| 55 | { |
| 56 | innerbubble.Background = value; |
| 57 | outerbubble.Fill = value; |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | } |