This project is read-only.

[Version 2.0] Can I make a window "Non-Floatable"

Jun 14, 2012 at 8:06 PM

I have some windows/tabs that I don't want undocked or moved (ie I want it to stay right where I place it)

Is there a way to remove this option for a window?

I looked on LayoutDocument and I could not see anything that would prevent it from floating.

Jun 14, 2012 at 8:07 PM

I just saw that a CanFloat property was added.

I will try that.

Jun 15, 2012 at 9:13 AM

I see the CanFloat property a bit late (refer to my message here), but I wonder how to set it.

I use a StyleSelector to set LayoutItemContainerStyleSelector, and as in your examples, set TargetType for the style to LayoutItem. From here, how to access CanFloat with a style setter ? :/


Jun 15, 2012 at 9:50 AM

Hi Kaon, CanFloat property is not yet selectable thru the LayoutItemContainerStyle, I'm working on that. Next release will have this option as well as properties CanClose and CanHide exposed.Thx

Jun 15, 2012 at 9:52 AM

Great :D