Hello Support Team,
is there a way to set or modify the View3D property in xaml??
Thanks a lot.
Best regards
Simo
View3D in xaml
Re: View3D in xaml
Hello Simo,
If you want change view3D in xaml projects, you can do it to run time, the same way you do it in winforms:
Is it you want?
Thanks,
If you want change view3D in xaml projects, you can do it to run time, the same way you do it in winforms:
Code: Select all
tChart1.Aspect.view3D=false;
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: View3D in xaml
Hi Sandra,
this is the way you can resolve it in xaml-codes not in the code-behind:
1. You have to instance the Aspect Class as a resource:
<UserControl.Resources>
<my:Aspect x:Key="ChartAspect" View3D="False"/>
<wpf2:Panel x:Key="ChartPanel" Transparent="True" BorderRound="0">
</wpf2:Panel>
</UserControl.Resources>
2. Than you can set the Aspact Class to the Aspect-Property of the Chart this way:
<Grid>
<chart:TChart
Name="MyChart"
Aspect="{StaticResource ChartAspect}"
Panel="{StaticResource ChartPanel}"
Focusable="True">
</chart:TChart>
</Grid>
Maybe this could help another developer!
Thanks
Simo
this is the way you can resolve it in xaml-codes not in the code-behind:
1. You have to instance the Aspect Class as a resource:
<UserControl.Resources>
<my:Aspect x:Key="ChartAspect" View3D="False"/>
<wpf2:Panel x:Key="ChartPanel" Transparent="True" BorderRound="0">
</wpf2:Panel>
</UserControl.Resources>
2. Than you can set the Aspact Class to the Aspect-Property of the Chart this way:
<Grid>
<chart:TChart
Name="MyChart"
Aspect="{StaticResource ChartAspect}"
Panel="{StaticResource ChartPanel}"
Focusable="True">
</chart:TChart>
</Grid>
Maybe this could help another developer!
Thanks
Simo
Re: View3D in xaml
Hello Simo,
Many thanks for your clarification and information, it sure helps other users.
Thank you,
Many thanks for your clarification and information, it sure helps other users.
Thank you,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |