PropertyTabAttribute Constructor (String, PropertyTabScope)


Initializes a new instance of the PropertyTabAttribute class using the specified tab class name and tab scope.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public PropertyTabAttribute(
	string tabClassName,
	PropertyTabScope tabScope


Type: System.String

The assembly qualified name of the type of tab to create. For an example of this format convention, see AssemblyQualifiedName.

Type: System.ComponentModel.PropertyTabScope

A PropertyTabScope that indicates the scope of this tab. If the scope is Component, it is shown only for components with the corresponding PropertyTabAttribute. If it is Document, it is shown for all components on the document.

Exception Condition

tabScope is not Document or Component.

.NET Framework
Available since 1.1
Return to top