PropertyTabScope Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines identifiers that indicate the persistence scope of a tab in the Properties window.

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

type PropertyTabScope

Member nameDescription
Component

This tab is specific to the current component. This tab is added to the Properties window for the current component only and is removed when the component is no longer selected.

Document

This tab is specific to the current document. This tab is added to the Properties window and is removed when the currently selected document changes.

Global

This tab is added to the Properties window and can only be removed explicitly by a parent component.

Static

This tab is added to the Properties window and cannot be removed.

PropertyTabScope indicates the persistence scope of a tab that is displayed in the Properties window when a component of a design document has an associated PropertyTabAttribute.

The following code example demonstrates how to use PropertyTabScope to specify the scope of a property tab.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: