Link Zenon Variable to a user control WPF-Element

Link Zenon Variable to a user control WPF-Element

I have recreated the example in paragraph 5.3.1 of the Zenon manual: two user controls, the first with code behind and the second a wrapper control for the first consisting of an xaml declaration.

In the first control, a public property is declared in the code behind:

  1. public double ValueA
  2. {
  3.         get { return (double) GetValue(ValueADependencyProperty); }
  4.         set { SetValue(ValueADependencyProperty, value); }
  5. }

In the wrapper control, the first control (dll) is integrated as follows:

  1. <Grid Name=“MainGrid”>
  2.     <WpfUserControlLibrary:UserControl1  
  3.       x:Name="AdditionControl”
  4.       HorizontalAlignment="Stretch”
  5.       VerticalAlignment="Top”
  6.       />
  7. </Grid>

If the controls are integrated into a zenon-WPF-element, the "MainGrid" node and also the "AdditionControl" node  are visible, but not the public property “VariableA”.

Can someone help me out here