Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevo@sevo.org>2015-01-26 02:21:40 +0300
committerVsevolod Kukol <sevo@sevo.org>2015-01-26 02:21:40 +0300
commit4020117cfa10cd9a35ada78e9089956abc51cd22 (patch)
tree3da1e26ba1a00043128fb2b56c658eced4888a2d /Xwt.WPF
parent6a6de48525ebd60bad43a5586fa07807c4228f35 (diff)
parent71d95aa1a8b47d0d6402897a8c6eca72a21a994b (diff)
Merge pull request #409 from sevoku/fix-wpf-canvas-mouse-events
[WPF] fix canvas mouse events
Diffstat (limited to 'Xwt.WPF')
-rw-r--r--Xwt.WPF/Xwt.WPFBackend/BoxBackend.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Xwt.WPF/Xwt.WPFBackend/BoxBackend.cs b/Xwt.WPF/Xwt.WPFBackend/BoxBackend.cs
index a31a3e1a..dcf8457e 100644
--- a/Xwt.WPF/Xwt.WPFBackend/BoxBackend.cs
+++ b/Xwt.WPF/Xwt.WPFBackend/BoxBackend.cs
@@ -73,6 +73,11 @@ namespace Xwt.WPFBackend
public WidgetBackend Backend { get; set; }
+ public CustomPanel()
+ {
+ Background = System.Windows.Media.Brushes.Transparent;
+ }
+
public Action<System.Windows.Media.DrawingContext> RenderAction;
protected override void OnRender (System.Windows.Media.DrawingContext dc)