c# - How to toggle visibilty of a Wizard Page of Devexpress XtraWizard control -
i have problem: using devexpress wizard control , want toggle visibility of wizardpage on basis of checkbox input.
problem:
if suppose checkbox checked wizard page x must visible while going , fro in wizard control else page should not visible.
what have tried:
- tried toggle visibility in selectedpagechanging event - didn't success
- tried add or remove page parent control - didn't success
please me out in this..
you could:
- handle
selectedpagechanging
event. - check
page
property of event arguments page right before page show/hide.- if true, set
cancel
propertytrue
. - set
selectedpage
desired page, depending on checkbox a's state.
- if true, set
you optionally theck direction
property see whether user navigating forward or backward.
general hint:
when dealing devexpress questions/issues, devexpress support center useful location ask questions or browse solutions.
even stack overflow cannot compete there speed , depths of anwsers (imho).
so if answer (or other answers) not satisfy need, recommend go support center , ask there advise.
Comments
Post a Comment