RefreshTabs Method

PropertyGrid.RefreshTabs Method (PropertyTabScope)

 

Refreshes the property tabs of the specified scope.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void RefreshTabs(
	PropertyTabScope tabScope
)

Parameters

tabScope
Type: System.ComponentModel.PropertyTabScope

Either the Component or Document value of PropertyTabScope.

Exception Condition
ArgumentException

The tabScope parameter is not the Component or Document value of PropertyTabScope.

The RefreshTabs method first deletes the property tabs of the specified scope, it then requires the objects and documents to rebuild the tabs.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft