디자이너 속성에서는 다룰 수 없어.
탭 컨트롤러에서 동적으로 제거해라!
The
tabPage.Enabled
seems to be working fine, but is marked as "not to be used":This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member is not meaningful for this control.So you should disable the tab page by disabling every control in the tab. See this for instance.
Show / hide
There is an existing
tabPage.Visible
property but it does not seem to have any effect. Besides, it is also marked as "not to be used", and msdn advises to remove the tab page from the tab control in order to hide it:// Hide the tab page tabControl.TabPages.Remove(tabPage1); // Show the tab page (insert it to the correct position) tabControl.TabPages.Insert(0, tabPage1);
'TroubleShooting' 카테고리의 다른 글
방법: 편집하며 계속하기 사용(C#) (0) | 2018.04.29 |
---|---|
Visual Studio에서 원격 컴퓨터 UWP 앱 실행 (0) | 2018.04.29 |
[UWP] SDK Minimum 버전 바꾸고 Reference 참조 안될 때 (0) | 2018.04.14 |
Visual Basic 6 - 마우스 휠 패치 (0) | 2018.04.02 |
[VB6] OCX, DLL 참조하기! (0) | 2018.03.26 |