Home > Net >  The.net DevExpress xtraTabControl controls had page form content is not complete
The.net DevExpress xtraTabControl controls had page form content is not complete

Time:10-11

Adding Form the Form in which XtraTabPage, first, the Form is not complete, according to the bottom of the control displays only half, DockStyle is the Fill, the second how to zoom in on the main Form cases, make the TabPage page content, according to the adaptive and TabPage scroll bar does not display, thank you glad to

 

This. Invoke (new Action (()=& gt;
{
Form the TopLevel=false;
Form. The Dock=DockStyle. The Fill;
//form. AutoScroll=true;
Form. FormBorderStyle=FormBorderStyle. None;
XtraTabPage xpage=new XtraTabPage ();
Xpage. Name=Name;
Xpage. Text=name;
Xpage. AutoScroll=true;
XtraTabControl1. TabPages. Add (xpage);
XtraTabControl1. SelectedTabPage=xpage;//display the current page
Xpage. Controls. The Add (form);
Form. The Visible=true;
}));



  • Related