ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

WPF controls range

Solved!
Go to solution

Gentlemen,

 

I am trying to programmically set the range of a slider control based on a selection of a list box.  I tried the FreqSelect.Range = New Range(0, 600) and FreqSelect.Range = New nationalinstruments.controls.Range(0, 600) without success based on the few other discussions and the winform method.  how can it be done in WPF.  Thank you

 

George MAsiello

0 Kudos
Message 1 of 3
(5,217 Views)
Solution
Accepted by topic author IntellitoolEng

Looking at the "Range Adjusters" example, you can use "New Range(Of Double)(minimum, maximum)" or "Range.Create(minimum, maximum)" to create a new range in Visual Basic.

~ Paul H
Message 2 of 3
(5,212 Views)

Thank you, did not look there  yet

0 Kudos
Message 3 of 3
(5,169 Views)