Ado and mach22,
Thank you for the responses. I really appreciate it.
Sadly, I am still stuck with this. I tried to set CanClose and it does not recognize the property.
I have this:
<avalonDock:LayoutAnchorable Title="Panel 1" CanClose="False"> <Border Background="Cyan" /> </avalonDock:LayoutAnchorable>
And Visual Studio errors out with:
The property 'CanClose' does not exist in XML namespace 'http://avalondock.codeplex.com'.
The property 'CanClose' was not found in type 'LayoutAnchorable'.
I also tried this on a LayoutAchorablePaneGroup, LayoutAnchorablePane, LayoutDocumentPaneGroup, LayoutDocumentPane and a LayoutDocument. All of them say that CanClose is not found.
CanClose seems to be a dependency property on LayoutItem. But I can't seem to access it.
Or am I missing something else?
(I am running v 2.0.0911)
<avalonDock:LayoutAnchorable Title="Panel 1" CanClose="False"> <Border Background="Cyan" /> </avalonDock:LayoutAnchorable>
d