Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide and unhide a page of XtraTabControl?

How to hide and unhide a page of XtraTabControl? I have several tabs in XtraTabControl how can I hide and unhide them on button click? I am using c# and XtraTabControl is a DevExpress control.

like image 470
AndroidLearner Avatar asked Sep 04 '12 05:09

AndroidLearner


1 Answers

Please use the XtraTabPage.PageVisible property:

xtraTabPage.PageVisible = !xtraTabPage.PageVisible;
like image 58
DmitryG Avatar answered Sep 25 '22 17:09

DmitryG