Creating a WPF User Control with Tag Connection
Posted: Wed Mar 19, 2014 4:25 am
Similar to the manual (Control > WPF Controls > Creating a WPF User Control with Tag Connection) I used Visual Studio to write my own user control. In a test application with VS everything works fine.
After compiling I get a .dll file. But what now? At this point the manual ends
To add the namespace in VS I write this within the <Window> Tag
After that i can add my Control, the Binding and an converter:
In ixDeveloper2.10 I can import the .dll (Project > Referenced Assemblies) and now? Howto import the namespace in the XAML within all this "neo", "ntss" and "nacs" namespaces?
Is there a Code sample?
After compiling I get a .dll file. But what now? At this point the manual ends
To add the namespace in VS I write this within the <Window> Tag
Code: Select all
xmlns:UC="clr-namespace:AxisControl;assembly=AxisControl"
Code: Select all
<UC:UserControl1 Margin="0" Padding="0" Value="{Binding ElementName=slid,Path=Value,Converter={StaticResource PosCon}}" />
Is there a Code sample?