|
S.No |
Query |
Response |
|
1 |
i have watched at your side :
- https://help.syncfusion.com/wpf/sfdiagram/overview
- and on Essential Studio Dashboard Examples
But for me everything is in codebehind. i am not able to bind my sfdiagram to a ViewModel. I would be glad if you could show me a mvvm examplewhere you have bind the sfdiagram, nodes and connectors in a ViewModel. Thank you.
|
We have provided the Diagram control functionalities in our dashboard samples with MVVM. For more information about your requirement, Please refer the Diagram builder sample. Please refer the below location.
WPF sample location : Dashboard -> WPF -> Showcase Samples -> DiagramBuilder
|
|
2 |
And I´m not able to use Sfdiagram. I always get the following
Exeption:
The tag´SfDiagram´ does not exist in XML namespace 'http://schemas.syncfusion.com/wpf'
|
Please let us know the specific details and sample to represent this, so that we can proceed with the issue further.
|
|
S.No |
Query |
Response |
|
1 |
i have watched at your side :
- https://help.syncfusion.com/wpf/sfdiagram/overview
- and on Essential Studio Dashboard Examples
But for me everything is in codebehind. i am not able to bind my sfdiagram to a ViewModel. I would be glad if you could show me a mvvm examplewhere you have bind the sfdiagram, nodes and connectors in a ViewModel. Thank you.
|
We have provided the Diagram control functionalities in our dashboard samples with MVVM. For more information about your requirement, Please refer the Diagram builder sample. Please refer the below location.
WPF sample location : Dashboard -> WPF -> Showcase Samples -> DiagramBuilder
|
|
2 |
And I´m not able to use Sfdiagram. I always get the following
Exeption:
The tag´SfDiagram´ does not exist in XML namespace 'http://schemas.syncfusion.com/wpf'
|
Could you please verify that assemblies "Syncfusion.SfDiagram.WPF" added in your application? Also ensure that the TargetFramework version of your project and referred assemblies are the same.
ScreenShot:
|
Source="/Syncfusion.SfDiagram.Wpf;component/Resources/BasicShapes.xaml" />
|
<viewmodel:NodeVM Key="Basic Shapes" UnitHeight="100" UnitWidth="100"
Shape="{StaticResource Rectangle}" ShapeStyle="{StaticResource SymbolStyle}">
Here, Rectangle Shape is access from BasicShapes.xaml file.
|