[MonoDevelop] Monodevelop.Dock is there a later version?
alan battersby
alan.battersby at ntlworld.com
Fri Sep 11 16:39:55 EDT 2009
Hi,
I am using Monodevelop.Doc Assembly version 1.0.0.0 in my program.
Things have changed greatly since I downloaded this (Ive forgotten where
from) so is there a more recent version and where do I get it?
Also Im just changing my code so that a particular docking frame is
optional according to a user configuration. When I change from frame to
no frame everything is fine. However when changing from noframe to
frame, the frame in question doesn't appear. I realize that when the
layout was saved in noframe mode the visible property was set to false
in the layout file (If I set this manually to true all is ok the frame
is where it should be). So I tried loading in the layout, getting the
frame in question and setting its visibility property true but this
doesnt seem to work. Can someone tell me where I am going wrong. What I
want is to re-layout after setting the visibility property so how do I
do that?
Thanks
Alan
Code is
string layout =
System.IO.Path.Combine(_myconfig.RootFolderPath,Keys.LAYOUT);
if ( File.Exists( layout ) )
{
df.LoadLayouts( layout);
}
else
{
df.CreateLayout(layout , true );
}
if ((_myconfig.ToolDisplayMode == TOOLDISPLAYMODE.FULLVIEW) ||
(_myconfig.ToolDisplayMode == TOOLDISPLAYMODE.QUICKVIEW))
{
// make sure that ToolDisplay is visible
doc_item = df.GetItem("Toolpath");
doc_item.Visible = doc_item.DefaultVisible = true;
}
More information about the Monodevelop-list
mailing list