Hide/Show TimelineBand

Sep 13, 2010 at 9:49 PM
Edited Sep 13, 2010 at 11:25 PM

How I can hide and show the Timelinebands, I want to add a check box, when the user click it, one timelineband are hiden and the other timelineband is set to Main.

Sep 13, 2010 at 10:56 PM

you can hide timeline band by using Visibility property.

Sep 13, 2010 at 11:28 PM

I used this code

Me.auditview.Band1.Visibility = System.Windows.Visibility.Collapsed
Me.auditview.Band2.IsMainBand = True

but the result is, a big band in white, and the info in the band 2, but the band 2 is small



Sep 14, 2010 at 4:30 AM

As of now main band cannot be changed once assigned. If you need to do things like that take a look in examples folder, there is an example there where bands are generated at runtime.