Disable & Hide PreviousButton & NextButton

Jul 17, 2009 at 7:18 AM

Is it possible to disable and hide the 'PreviousButton' and 'NextButton'?

 

I found the method 'jfd.PreviousButton.IsEnabled = false;' but this doesn't work because I still see the button and it's still possible to click on this button.

 

Marcel

Sep 4, 2009 at 3:19 PM
Edited Sep 4, 2009 at 3:22 PM

If you are looking for the answer:

- jfd.NextButton.Visibility = System.Windows.Visibility.Collapsed;

This disables rendering of the controls.