diff options
author | Vsevolod Kukol <sevo@sevo.org> | 2015-01-26 02:21:40 +0300 |
---|---|---|
committer | Vsevolod Kukol <sevo@sevo.org> | 2015-01-26 02:21:40 +0300 |
commit | 4020117cfa10cd9a35ada78e9089956abc51cd22 (patch) | |
tree | 3da1e26ba1a00043128fb2b56c658eced4888a2d /Xwt.WPF | |
parent | 6a6de48525ebd60bad43a5586fa07807c4228f35 (diff) | |
parent | 71d95aa1a8b47d0d6402897a8c6eca72a21a994b (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.cs | 5 |
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)
|