Tabpages visibility - Is this a bug ?

0
0

Hello all,

I am using Wisej3 on VS2019 to implement a “Wisej 3 Web Application (.Net Framework)

The method  tabControl1.TabPages[1]. Hide ( or .Show ) have no effect on the tabPages,

while  abControl1.TabPages[1].Hidden = true ( or false )  works fine !?

Best regards,

Eddy.

  • You must to post comments
0
0

That’s correct.

Hide() and Show() are related to the Visible property that for TabPages it’s related to being the active (selected tab). The Hidden property hides the TabPage from the TabView while deselecting a TabPage sets the Visible property to false because the child controls inherit the Visible value (it’s a so-called Ambient Property).

  • eddy fontaine
    Thank you Luca ! Best regards, Eddy.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.