I am trying to change a knob to value pairs only mode from code. I cannot use the property page option as I am dynamically creating the control. I have tried exporting and importing a style but that is a bit OTT for just changing one attribute.
Which version of Measurement Studio are you using? If you're using Measurement Studio 7.0, the knob has a boolean property called ValuePairsOnly that you can just set to true to do this.