Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

WPF Slider - Change ScaleKind programatically in C#

$
0
0

How do I go about changing the ScaleKind programatically in C#? The WPF properties look simple enough but I don't see a way to map this to C# as SkaleKind doesn't appear anywhere in the list of "intellisense" options.

 

<ni:SliderDouble...         

  <ni:SliderDouble.Scale>               

    <ni:NumericScale ScaleKind="Linear"/>           

  </ni:SliderDouble.Scale>

 

or           

  <ni:SliderDouble.Scale>               

    <ni:NumericScale ScaleKind="LogarithmBase10"/>           

  </ni:SliderDouble.Scale>

 

 


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>