You can create and monitor Data Standard fields that are in certain relation to others or to defined functions by using events in the code. Fields can be updated not just when Data Standard starts, but each time the user changes selected fields.
function InitializeWindow { $dsWindow.Width = 600 $dsWindow.Height = 400 $Prop["State"].add_PropertyChanged({ param( $parameter) StateChanged }) }
Here we catch the event and call the function StateChanged. The property "State" is bound to a textfield (testtextfield). Now each time the user inserts some new text in this field, the function StateChanged is called. We also use another simple function (SayHello) to write a result ("Hello"+ string entered) in another field (testtextfield2). These two functions can be written like this:
The xaml file has two text-fields with the name "testtextfield" and "testtextfield2". The first one is bound by a property called "State" as you can see.
Now when we start Data Standard and write something in the "testtextfield", Data Standard shows as hello+ the text that we wrote. This is just a simple example but it hopefully provides some ideas for adding new features to the Data Standard dialog or helps you address any problems.