blob: 2e81a68bf3b1f01ebb0945610e620af8c21765ae [file] [log] [blame]
tkuhn1l6e4eb4cd2019-05-16 11:06:07 +02001using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6using System.Windows;
7using System.Windows.Controls;
8using System.Windows.Data;
9using System.Windows.Documents;
10using System.Windows.Input;
11using System.Windows.Media;
12using System.Windows.Media.Imaging;
13using System.Windows.Navigation;
14using 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
17This 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).
18The browser functionality is under the cefSharp license (see https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE).
19The JSON serialization is under the MIT license (see https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md). */
20
21namespace 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}