Click here to Skip to main content
15,896,348 members

Comments by rinaldin (Top 4 by date)

rinaldin 6-Feb-14 10:32am View    
Solved! the first row of the XAML code must report the name of the class:
rinaldin 6-Feb-14 10:29am View    
Yes, but I cannot figure out how. I added:

Public Sub New()
Me.InitializeComponent() ' <- this is not a component of the class viewer
End Sub

and it does not work.
rinaldin 6-Feb-14 10:05am View    
ok thanks, but where to insert the call in the code behind? I cannot undestand where and how.
rinaldin 6-Feb-14 9:57am View    
Yes, it is the code behind my control.
If it helps, this is the XAML code:

<usercontrol x:class="UserControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:ignorable="d" d:designheight="300" d:designwidth="300" xmlns:h="http://helixtoolkit.codeplex.com">
<grid>
<h:helixviewport3d height="300" horizontalalignment="Left" name="HelixViewport3D1" verticalalignment="Top" width="300" removed="Black" camerainertiafactor="0" infoforeground="White" isinertiaenabled="False" ismanipulationenabled="True" orthographic="True" showcoordinatesystem="True" showviewcube="False">
<Canvas Height="300" HorizontalAlignment="Left" Name="Canvas1" VerticalAlignment="Top" Width="300" ClipToBounds="True" />