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:
- public double ValueA
- {
- get { return (double) GetValue(ValueADependencyProperty); }
- set { SetValue(ValueADependencyProperty, value); }
- }
In the wrapper control, the first control (dll) is integrated as follows:
- <Grid Name=“MainGrid”>
- <WpfUserControlLibrary:UserControl1
- x:Name="AdditionControl”
- HorizontalAlignment="Stretch”
- VerticalAlignment="Top”
- />
- </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