User Manual

Objects
1.
Start Visual Studio to create a new project, and select WPF User Control
Library.
2.
Add [DefaultProperty("Value")] to the class, to define which property the
tag should set when the value is set.
3.
Add a dependency property with same name as the attribute above:
static readonly DependencyProperty ValueProperty;
4.
Add a static constr uctor and register to the dependency property.
5.
Create a Value property of type object.
6.
Open the tab of the .xaml file.
7.
Add a TextBox to the user control.
8.
Set the name of your control.
9.
Add a binding to the TextProperty a nd bind to the Val
ue Property.
10.
Remember to change ElementName to the name of your control.
11.
Compile and test by adding the con
trol to the iX Developer toolbox.
Note:
Whenanupdateismade,theexistingcontrolmustbe updatedunder
C:\Users\Public\Documents\BeijerElectronicsAB\iX Developer\Thirdparty\
BeijerElectronics, MAEN831P
203