(UTC)
Welcome, Guest. Please
Login
or
Register
News:
Board Index
Help
Search
Login
Register
The MindFusion Forums
›
Flow Diagramming Components
›
WPF
› WPF
(Moderator: Slavcho)
‹
Previous Topic
|
Next Topic
›
Pages:
1
2
3
[4]
Send Topic
Print
WPF (Read 46499 times)
Paul Eden
Full Member
Offline
Posts: 128
Joined: Aug 15
th
, 2007
Re: WPF
Reply #45 -
Dec 7
th
, 2007 at 4:04pm
Print Post
Hi Stoyan
Once again thank you for the pointers - the resizeToFitItems worked a charm - one call after all work carried out and the user won't know it happened
Is it possible to programaticly create diagram links to connect items on the diagram that are not diagramNodes?
I see that when i put a break point in the LinkCreating event, a DiagramAdaptorNode is used, but it would seem this is private to the Mindfusion DLLs?
WWW
IP Logged
Stoyo
God Member
Offline
MindFusion support
Posts: 13230
Joined: Jul 20
th
, 2005
Re: WPF
Reply #46 -
Dec 7
th
, 2007 at 6:29pm
Print Post
Hi Paul,
The control uses an attached property to associate whatever framework element you add to the diagram with its adapter node. You can get the node like this:
DiagramNode adapterNode = (DiagramNode)Diagram.GetDiagramItem(fwkElement);
I hope that helps,
Stoyan
IP Logged
Paul Eden
Full Member
Offline
Posts: 128
Joined: Aug 15
th
, 2007
Re: WPF
Reply #47 -
Dec 14
th
, 2007 at 2:32pm
Print Post
As usual, spot on - thanks.
Also, as usual, the answer precedes another question
I'm working with groups now; i can create a group via the factory method and it is created with the main node that I provide, but I can't see a way of adding more nodes to the group as there is no 'AddNode' method - version 4 used the AttachedBojects.Add method. Is this method missing or should items be added to groups in a different manor?
Many thanks
Paul
WWW
IP Logged
Stoyo
God Member
Offline
MindFusion support
Posts: 13230
Joined: Jul 20
th
, 2005
Re: WPF
Reply #48 -
Dec 14
th
, 2007 at 4:34pm
Print Post
Hi Paul,
You can use the node.AttachTo(main, ...) method to add nodes to groups. This will add the node to the main's SubordinateGroup, creating the group if it hasn't been created yet.
You could also use the groups' AttachToCorner / AttachToSegment / AttachToPoint methods to add child nodes.
I hope that helps,
Stoyan
IP Logged
Paul Eden
Full Member
Offline
Posts: 128
Joined: Aug 15
th
, 2007
Re: WPF
Reply #49 -
Jan 14
th
, 2008 at 9:37am
Print Post
Hi Stoyan
I see we have our dedicated WPF forum now
Does this mean there is a WFP official beta imminent?
WWW
IP Logged
Stoyo
God Member
Offline
MindFusion support
Posts: 13230
Joined: Jul 20
th
, 2005
Re: WPF
Reply #50 -
Jan 14
th
, 2008 at 10:01am
Print Post
Yes, we are creating the msi package now, and the first version should be available this week
Stoyan
IP Logged
Pages:
1
2
3
[4]
Send Topic
Print
‹
Previous Topic
|
Next Topic
›
Forum Jump »
Board Index
» 10 most recent Posts
» 10 most recent Topics
General
News
Discussion
Flow Diagramming Components
News
Feature Suggestions
Windows Forms
WPF ««
Html Canvas & JavaScript
Blazor
ASP.NET MVC
ASP.NET
Java Swing
ActiveX
.NET MAUI and Xamarin
Android
Cocoa Touch
Bug Reports
Scheduling and Gantt Components
News
Feature Suggestions
Windows Forms
WPF
Silverlight
ASP.NET
Html & JavaScript
Java Swing
.NET Compact Framework
.NET MAUI and Xamarin
Bug Reports
Gauge and Chart Components
News
Feature Suggestions
Windows Forms
WPF
Silverlight
ASP.NET
Html Canvas & JavaScript
Java Swing
Xamarin
Bug Reports
Grid and Spreadsheet Components
News
Feature Suggestions
Windows Forms
WPF
Html & JavaScript
Java Swing
Bug Reports
Virtual Keyboard Components
News
Windows Forms
WPF
Avalonia
Java Swing
Html & JavaScript
Bug Reports
MindFusion.Reporting
News
Feature Suggestions
Windows Forms
WPF
Silverlight
Bug Reports
MindFusion.UI controls
Windows Forms
WPF
ASP.NET
Other MindFusion tools
News
Feature Suggestions
Discussion
Bug Reports
Archived Boards
Silverlight
Universal Windows Platform
« Board Index
‹ Board
The MindFusion Forums
» Powered by
YaBB 2.6.11
!
YaBB Forum Software
© 2000-2024. All Rights Reserved.