Comments (7)
Oh man. WinForms. :)
The DragablzWindow is basically a normal WPF borderless windows...not quite sure what's going on without trying, I have never tried hosting WinForms controls. I will try and have a look.
Incidentally, have you tried this on a MahApps MetroWindow?
from dragablz.
On MA window it works, because WindowsFormsHost is legal WPF control and should always display its content :)
from dragablz.
You can make this work by setting AllowsTransparency=false on the containing window, but expect that the UX will look worse with the window border.
from dragablz.
Thanks @svantreeck
@cnelson711 ...in which case you are probably better off using a normal Window or MahApps.MetroWindow
from dragablz.
The custom user control shows up on MetroWindow and Window, but doesn't on DragablzWindow.
I'm also having headaches with the custom control's size while resizing the window. I just want the custom control to be the content of my tabs.
from dragablz.
Yeah...there's tradeoffs with each Window.
The DragablzWindow (which is basically a borderless Window) will give you the cut out shape, but you can't get any shadow behind it. And as we now know you can'y host a WinForms control in it. A normal Window or MetroWindow will give you a nice shadow but you can't get the cut-out shape.
So basically, you have to choose your poison 💀 ...unfortunately there isn't a Window type which achieves everything.
Having said that I need to have a look at what can be achieved with https://msdn.microsoft.com/library/system.windows.interop.hwndsourceparameters.usesperpixeltransparency.aspx which is in .Net 4.6
from dragablz.
I'm closing this issue as svantreeck's AllowTransparency = false; and having the window border show back up is acceptable to me.
from dragablz.
Related Issues (20)
- TabablzControl crashes when no tab items are present
- close button can't show HOT 1
- Dockablz layout does not show Dropzones when inside NavigationView
- Need to update SecondaryAccentBrush to SecondaryHueMidBrush
- Tabablz Item Template unable to set Tab title. Just shows as path to item template source HOT 1
- [Question] drag and drop between two or more lists HOT 2
- Documentation of classes
- MoveWindowWithSolitaryTabs issue
- TabablzControl SelectedIndex binding catches all exception from bound property
- Button in TabItem header
- is there a way to make dragablztabcontrol NOT TEARABLE?
- Layout: Cannot change FloatingItem Content
- How we can do this? : Open forms in different threads and then move the mainwindow all other forms must be move with them in wpf.
- MDI: New added floating item will not show at the front.
- .Net 7 Issue
- Throws System.Reflection.TargetInvocationException while dragging a tab when the tabs are created using ItemsSource.
- handling Default close button HOT 1
- Equal width for all tabs
- Brush renames on MaterialDesignInXAML 5.0.0 HOT 1
- Disposing closed tab
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragablz.