We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Errors in Mainpage.xaml

hi,

    I am working with diagram builder. I am currently facing problem in my mainpage.xaml where the references to view, utility and view model are not recognized. I am not able to solve this!. In all other pages references are working fine



<Page.Resources>


<util:PickerVisibilityConverter x:Key="PickerVisibilityConverter"/>


</Page.Resources>





 


 


 




<Page.DataContext>


<vm:DiagramBuilderVM>


<vm:DiagramBuilderVM.Editors>


<!-- Arrange -->


<vm:PropertyEditorVM Title="Arrange" Icon="M22.049993,22.052991 L22.049993,8.3640063 C21.526993,8.2400065 20.983993,8.1660066 20.428994,8.1370066 L20.428994,20.429993 10.702,20.429993 C10.818,20.991992 10.987,21.532992 11.197999,22.052991 z M4.941001,20.429992 L1.6210003,20.429992 1.6210003,1.6229993 20.429004,1.6229993 20.429004,3.4549986 C20.980004,3.4729986 21.519004,3.5219986 22.050005,3.5979985 L22.050005,5.2939559E-23 0,5.2939559E-23 0,22.052991 5.2380011,22.052991 C5.1110011,21.521991 5.009001,20.980991 4.941001,20.429992 M19.923,7.0920137 C13.608999,7.0920137 8.471998,12.229012 8.471998,18.543009 8.471998,24.860007 13.608999,29.996005 19.923,29.996005 26.237001,29.996005 31.376002,24.860007 31.376002,18.543009 31.376002,12.229012 26.237001,7.0920137 19.923,7.0920137 M19.923,31.617004 C12.713999,31.617004 6.8509977,25.752006 6.8509977,18.543009 6.8509977,11.334012 12.713999,5.4690143 19.923,5.4690143 27.134002,5.4690143 32.999003,11.334012 32.999003,18.543009 32.999003,25.752006 27.134002,31.617004 19.923,31.617004">


<vm:PropertyEditorVM.Content>


<view:SelectionCommands/>


</vm:PropertyEditorVM.Content>


<!--<viewModel:PropertyEditorVM.Icon>





<Grid>


<"" Fill="White" Height="31.617" Canvas.Left="84.867" Stretch="Fill" Canvas.Top="441.612" Width="32.999"/>


</Grid>


</viewModel:PropertyEditorVM.Icon>-->




</vm:PropertyEditorVM>


<!-- Property -->


<vm:PropertyEditorVM Title="Property" Icon="M31.18401,31.885004 C31.18401,32.500006 30.684009,33.000007 30.071009,33.000007 L1.1120003,33.000007 C0.49800015,33.000007 5.0487098E-29,32.500006 5.0487098E-29,31.885004 L5.0487098E-29,29.657997 C5.0487098E-29,29.044995 0.49800015,28.544994 1.1120003,28.544994 L30.071009,28.544994 C30.684009,28.544994 31.18401,29.044995 31.18401,29.657997 z M11.084703,26.319004 C11.697718,26.319004 12.514738,25.925999 12.897747,25.447992 L13.150753,25.129988 C13.535763,24.652982 13.502762,23.900973 13.074751,23.455967 L9.6746683,19.910922 C9.2486579,19.468917 8.5806416,19.492917 8.1846319,19.959923 L7.9716267,20.211926 C7.5786171,20.679932 6.9086007,21.429941 6.4885905,21.877947 L3.072507,25.507993 C2.6524967,25.951999 2.8095005,26.319004 3.4225155,26.319004 z M31.996726,5.6413184 C33.082712,4.2703445 33.004713,2.2803824 31.736729,1.0164065 30.471745,-0.24956938 28.484771,-0.3275679 27.107788,0.75241152 L27.080789,0.72541204 26.797792,1.0104066 C26.795792,1.0124066 26.793792,1.0124066 26.791792,1.0144065 26.789792,1.0164065 26.787792,1.0204064 26.787792,1.0204064 L10.55,17.256097 15.494937,22.202003 31.736729,5.9613123 32.027725,5.6683178 z">


<vm:PropertyEditorVM.Content>


<view:PropertyEditor PropertyEditing="Visible" TextEditing="Collapsed"/>


</vm:PropertyEditorVM.Content>


</vm:PropertyEditorVM>


<!-- Stencil -->


<vm:PropertyEditorVM Title="Stencil" IsSelected="True" Icon="M0.44697526,1.009742E-28 L13.200977,1.009742E-28 13.200977,12.754002 0.44697526,12.754002 z M29.183984,25.43399 L25.595988,18.962976 22.017991,25.43999 18.208995,31.778004 25.605988,31.639003 32.99998,31.770004 z M6.8239867,19.464978 C10.591979,19.464978 13.645973,22.519979 13.645973,26.28898 13.645973,30.056981 10.591979,33.110982 6.8239867,33.110982 3.0559941,33.110982 1.4896671E-08,30.056981 1.4896671E-08,26.28898 1.4896671E-08,22.519979 3.0559941,19.464978 6.8239867,19.464978 M28.220984,11.071995 L31.384979,5.5929876 28.220984,0.11297979 21.894994,0.11297979 18.726999,5.5929876 21.894994,11.071995 z">


<vm:PropertyEditorVM.Content>


<view:StencilView DataContext="{Binding Stencil}"/>


</vm:PropertyEditorVM.Content>


8 Replies

PA Parthiban A Syncfusion Team March 19, 2014 04:04 AM UTC

Hi Madhu,

We have analysed your querying regarding references are not resolving, we couldn’t reproduce the reported problem on our side. Kindly provide the following details,

  1. Whether it throws any run time exception, if it kindly provide stack trace.

  2. Whether it shows only compile time issues, if it provide those error details.

  3. Whether it happens only in design time(in xaml designer), try to run the run, it might deploy successful.

  4. Whether you are working with sample browser sample or extract diagram builder form sample browser you side?

Please let us know if you require further assist on this.

Regards,

Parthiban



MA madhu March 19, 2014 06:08 AM UTC

It throws run time errors. I have used SAMPLE BROWSER as a reference.
DiagramPage is the mainpage. If I remove the DiagramPage the errors are gone.


theses are the errors:

Error 41 'PageView': member names cannot be the same as their enclosing type C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\obj\x64\Debug\View\Property\PageView.g.i.cs 18 62 App7
Error 33 The member "Brush" is not recognized or is not accessible. C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\View\Property\PropertyEditor.xaml 559 36 App7
Error 12 The member "PropertyEditing" is not recognized or is not accessible. C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 40 46 App7
Error 21 The member "PropertyEditing" is not recognized or is not accessible. C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 64 46 App7
Error 13 The member "TextEditing" is not recognized or is not accessible. C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 40 72 App7
Error 22 The member "TextEditing" is not recognized or is not accessible. C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 64 74 App7
Error 23 The name "CurrentBrush" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\View\Property\PropertyEditor.xaml 159 29 App7
Error 24 The name "CurrentBrush" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\View\Property\PropertyEditor.xaml 173 29 App7
Error 25 The name "CurrentBrush" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\View\Property\PropertyEditor.xaml 336 29 App7
Error 26 The name "CurrentBrush" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\View\Property\PropertyEditor.xaml 351 29 App7
Error 32 The name "CurrentBrush" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\View\Property\PropertyEditor.xaml 555 29 App7
Error 5 The name "DiagramBuilderVM" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 22 9 App7
Error 6 The name "DiagramBuilderVM" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 23 13 App7
Error 18 The name "PageView" does not exist in the namespace "using:App7.View". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 56 25 App7
Error 4 The name "PickerVisibilityConverter" does not exist in the namespace "using:App7.Utility". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 15 9 App7
Error 7 The name "PropertyEditorVM" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 26 17 App7
Error 8 The name "PropertyEditorVM" does not exist in the namespace "using:App7.ViewModel". C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March17th(Morning and Noon)\App7\App7\DiagramPage.xaml 27 21 App7




PA Parthiban A Syncfusion Team March 19, 2014 11:00 AM UTC

Hi Madhu,

After investigating the provided stack trace we suspect that you are trying to extract diagram builder from sample browser and create new standalone application form it. We found that the some of your API’s and name spaces are resolved correctly.

We had created a standalone diagram builder from our side. Kindly refer the attached sample to fix your side issues.

If you still couldn’t fix your problem, kindly send your sample. We will try to figure out the suspected issues and make sample as runnable.

Please let us know, if you require any further assist on this.

Regards,

Parthiban

 


Attachment: DiagramBuilder_1b0b2d46.zip


SK Sandeep Kandula replied to Parthiban A March 20, 2014 06:26 AM UTC

Hi Madhu,

After investigating the provided stack trace we suspect that you are trying to extract diagram builder from sample browser and create new standalone application form it. We found that the some of your API’s and name spaces are resolved correctly.

We had created a standalone diagram builder from our side. Kindly refer the attached sample to fix your side issues.

If you still couldn’t fix your problem, kindly send your sample. We will try to figure out the suspected issues and make sample as runnable.

Please let us know, if you require any further assist on this.

Regards,

Parthiban

 


Attachment: DiagramBuilder_1b0b2d46.zip

Hi Parthiban,
 
I'm Madhu's team member.
The Syncfusion product version which is installed in the development machine : Essential Studio Version - 11.4.0.26
 
I have downloaded the source code of the DiagramBuilder in the above reply. And I get the following error :
Warning 2 The referenced component 'Syncfusion 8.1 Controls for WinRT XAML' could not be found.  DiagramBuilder_2013
Warning 1 Could not find SDK "Syncfusion 8.1 controls for WinRT XAML, Version=11.4.0.30". DiagramBuilder_2013

I tried to download latest setup from Syncfusion site but even its version is 11.4.0.26.

I tried reference component of Syncfusion 8.1 controls for WinRT XAML, Version=11.4.0.26" and I get following errors.

Error 24 The type or namespace name 'TransactionState' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 788 16 DiagramBuilder_2013
Error 22 The type or namespace name 'IUndoRedoController' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 30 28 DiagramBuilder_2013
Error 23 The type or namespace name 'IUndoRedoController' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 784 16 DiagramBuilder_2013
Error 36 The type or namespace name 'IUndoRedoController' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 1062 9 DiagramBuilder_2013
Error 21 The type or namespace name 'IUndoable' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 26 74 DiagramBuilder_2013
Error 8 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\ConnectorVM.cs 456 26 DiagramBuilder_2013
Error 9 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\ConnectorVM.cs 456 49 DiagramBuilder_2013
Error 10 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\ConnectorVM.cs 465 25 DiagramBuilder_2013
Error 11 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\ConnectorVM.cs 465 48 DiagramBuilder_2013
Error 12 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\NodeVM.cs 744 25 DiagramBuilder_2013
Error 13 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\NodeVM.cs 744 48 DiagramBuilder_2013
Error 14 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\NodeVM.cs 753 25 DiagramBuilder_2013
Error 15 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\NodeVM.cs 753 48 DiagramBuilder_2013
Error 25 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 791 24 DiagramBuilder_2013
Error 26 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 791 47 DiagramBuilder_2013
Error 27 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 796 24 DiagramBuilder_2013
Error 28 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 796 47 DiagramBuilder_2013
Error 29 The type or namespace name 'IHistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 868 25 DiagramBuilder_2013
Error 35 The type or namespace name 'HistoryParameter' could not be found (are you missing a using directive or an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 936 29 DiagramBuilder_2013
Error 20 The type or namespace name 'Controller' does not exist in the namespace 'Syncfusion.UI.Xaml.Diagram' (are you missing an assembly reference?) C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 22 34 DiagramBuilder_2013
Error 33 The name 'UndoableState' does not exist in the current context C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 897 53 DiagramBuilder_2013
Error 34 The name 'UndoableState' does not exist in the current context C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 897 103 DiagramBuilder_2013
Error 30 The name 'TransactionState' does not exist in the current context C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 875 28 DiagramBuilder_2013
Error 31 The name 'TransactionState' does not exist in the current context C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 884 28 DiagramBuilder_2013
Error 32 The name 'TransactionState' does not exist in the current context C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 893 26 DiagramBuilder_2013
Error 19 Inconsistent accessibility: property type 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is less accessible than property 'DiagramBuilder.ViewModel.IGroupableVM.UndoRedoController' C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 1062 29 DiagramBuilder_2013
Error 17 Inconsistent accessibility: property type 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is less accessible than property 'DiagramBuilder.ViewModel.GroupableVM.UndoRedoController' C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 784 36 DiagramBuilder_2013
Error 3 Inconsistent accessibility: parameter type 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is less accessible than method 'DiagramBuilder.ViewModel.NodeVM.NodeVM(Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController)' C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\NodeVM.cs 25 16 DiagramBuilder_2013
Error 6 Inconsistent accessibility: parameter type 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is less accessible than method 'DiagramBuilder.ViewModel.GroupableVM.GroupableVM(Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController)' C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 30 16 DiagramBuilder_2013
Error 1 Inconsistent accessibility: parameter type 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is less accessible than method 'DiagramBuilder.ViewModel.ConnectorVM.ConnectorVM(Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController)' C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\ConnectorVM.cs 20 16 DiagramBuilder_2013
Error 2 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is inaccessible due to its protection level C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\ConnectorVM.cs 20 28 DiagramBuilder_2013
Error 4 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is inaccessible due to its protection level C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\NodeVM.cs 25 23 DiagramBuilder_2013
Error 7 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is inaccessible due to its protection level C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 30 28 DiagramBuilder_2013
Error 16 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is inaccessible due to its protection level C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 784 16 DiagramBuilder_2013
Error 18 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoRedoController' is inaccessible due to its protection level C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 1062 9 DiagramBuilder_2013
Error 5 'Syncfusion.UI.Xaml.Diagram.Controller.IUndoable' is inaccessible due to its protection level C:\Users\ABB\Desktop\SANDEEP\SourceCodeBackup\March 20\DiagramBuilder\DiagramBuilder\ViewModel\GroupableVM.cs 26 74 DiagramBuilder_2013

Can you please share the codebase for version 11.4.0.26?

Thanks,

Sandeep.



PA Parthiban A Syncfusion Team March 20, 2014 08:43 AM UTC

Hi Sandeep,

We are sorry for the inconvenience caused.

Please find the updated sample from the attachment.

Regards,

Parthiban


Attachment: DiagramBuilder_1162136a.zip


SK Sandeep Kandula March 20, 2014 10:48 AM UTC

Thanks a lot for the help.
It worked.


MA madhu March 25, 2014 05:54 AM UTC

Hi,

      I have created my own template. This template is visible in the stencil panel but when I drag and drop it in the page the image isn't displayed.

SAMPLE CODE:

<DataTemplate x:Key="SansStar">








<Viewbox Stretch="Fill" Width="50" Height="50">


<Grid IsHitTestVisible="False">


<Canvas Name="svg21510" Width="48" Height="64">


<Canvas.Resources/>


<Canvas Name="layer1">


<Canvas Name="g29191">


<Canvas.RenderTransform>


<MatrixTransform Matrix="0.1187352 0 0 0.11289021 -27.070708 -1.4169124"/>


</Canvas.RenderTransform>


<Canvas Name="g29193">


<Canvas Name="g29195">


<Canvas Name="g29197">


<Path Name="path29199" StrokeThickness="20" Stroke="#FF3A2C6F" StrokeMiterLimit="3.8637" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeEndLineCap="Round"








Data="m 253.377 500.669 v 50.953 c 0 0 6.086 0.235 8.938 -0.434 0.075 -15.53 16.986 -16.274 17.184 0 2.883 0.359 8.875 0.471 8.875 0.471 v -50.99 h -34.997 l 0 0 z">


</Path>

HOW DO I MAKE THE IMAGE APPEAR??




OUTPUT:



MA madhu March 25, 2014 06:20 AM UTC

Sorry posted in the wrong thread. The above problem is with reference to the following thread:

http://www.syncfusion.com/support/forums/winrt/sfdiagram/116037

I would post this problem in the above thread


Loader.
Live Chat Icon For mobile
Up arrow icon