RestoreTabsVisibilityFromDefaults Method
- Last UpdatedNov 06, 2025
- 1 minute read
The RestoreTabsVisibilityFromDefaults() method retrieves a DataSet containing default values for each tab in the specified tab control. It then finds name of the tabs in the DataSet and sets their visibility based on the value in the DataSet.
public static void RestoreTabsVisibilityFromDefaults(
string screen,
string sectn,
Control tabControl
)
Parameters
- screen
- Required. Holds the screen from which the tab values were taken.
- sectn
Required. Holds the section to which the tab values belong.
- tabControl
- Required. Holds the tab control being set up.