How to setup Expression Blend 3 add-in window at certain position ?
Posted
by j23tom..pl
on Stack Overflow
See other posts from Stack Overflow
or by j23tom..pl
Published on 2009-07-28T08:05:16Z
Indexed on
2010/06/05
15:22 UTC
Read the original article
Hit count: 222
For example in Sketchflow add-in there is ApplicationFlowPane (derrived from PrototypingPane) which registers itself using IWindowService like this:
service.RegisterPalette(this.PaletteRegistryName, this, this.Caption, this.KeyBinding);
But i can't see where it is defined that it is docked on bottom pane.
Before someone replies that it's at:
%AppData%\Microsoft\Expression\Blend3\Workspaces
No it's not there because those files do not exists at first run.
The question is how can i put my window at certain position with Expression Blend 3 plug-in api ?
update 1:
It seems that to achive what i want i have to change design.xaml (where workspaces are defined) which is loaded from satellite assembly Microsoft.Expression.Blend.resources.dll (method load in class FrameworkPackage in Microsoft.Expression.Blend.dll). But since this dll is strongly named i can't change it.
So now the question is. Is there any other way I can change Design Workspace at runtime ?
© Stack Overflow or respective owner