PDM.
Senior Member
   Offline
 I love YaBB 1G - SP1!
Posts: 256
Joined: Dec 2 nd, 2010
|
Re: Align line helpers, how enable? are available?
Reply #6 - Sep 6th, 2011 at 5:08pm
|
Print Post
|
|
Jajja, Mindfusion team is just awesome !! Excelent work guys tahnkyou for add this simple nice and usefull feature!! This is the reason due i payed my licence for use this component, mindfusion team is just awesome.
One question, how change the color of the blue line align?
Also if exist other properties for the align line please inform.
I think i see a little bug on this new feature.
This is really little bug, if you drag a node with mouse to desired position align position, the blue line is showed, after you move the node to deired position if you move the node with arrow keys, the align blue line not disapear after move teh ndoe with keys. Is a minot bug but little ugly, or probably no is a bug and i have to add soemthing to my keyboard move, for make blue align line disapear?
form.CommandBindings.Add(new CommandBinding(Diagram.NavigateRight, (sender, args) => { DiagramNode node = form.ActiveItem as DiagramNode; if (node != null) foreach (DiagramNode SelectedNode in form.Selection.Nodes) SelectedNode.Move(SelectedNode.Bounds.X + 1, SelectedNode.Bounds.Y); }));
form.CommandBindings.Add(new CommandBinding(Diagram.NavigateLeft, (sender, args) => { DiagramNode node = form.ActiveItem as DiagramNode; if (node != null) foreach (DiagramNode SelectedNode in form.Selection.Nodes) SelectedNode.Move(SelectedNode.Bounds.X - 1, SelectedNode.Bounds.Y); }));
form.CommandBindings.Add(new CommandBinding(Diagram.NavigateUp, (sender, args) => { DiagramNode node = form.ActiveItem as DiagramNode; if (node != null) foreach (DiagramNode SelectedNode in form.Selection.Nodes) SelectedNode.Move(SelectedNode.Bounds.X, SelectedNode.Bounds.Y - 1);
}));
form.CommandBindings.Add(new CommandBinding(Diagram.NavigateDown, (sender, args) => { DiagramNode node = form.ActiveItem as DiagramNode; if (node != null) foreach (DiagramNode SelectedNode in form.Selection.Nodes) SelectedNode.Move(SelectedNode.Bounds.X, SelectedNode.Bounds.Y + 1); }));
Best regards!
|